go-gitea/gitea · Security
Gitea does not properly validate repository ownership when deleting Git LFS locks
- GHSA ID
- GHSA-393c-qgvj-3xph
- CVE ID
- CVE-2026-20897
- Severity
- medium
- Published
- Updated
- CVSS v4
- 5.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Description
Gitea does not properly validate repository ownership when deleting Git LFS locks. A user with write access to one repository may be able to delete LFS locks belonging to other repositories.
CWEs
- CWE-284 · Improper Access Control
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-20897 ↗
- https://github.com/go-gitea/gitea/pull/36344 ↗
- https://github.com/go-gitea/gitea/pull/36349 ↗
- https://blog.gitea.com/release-of-1.25.4 ↗
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4 ↗
- https://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f ↗
- https://github.com/advisories/GHSA-393c-qgvj-3xph ↗