Vulnerability advisory
GHSA-393c-qgvj-3xph
Gitea does not properly validate repository ownership when deleting Git LFS locks
Also known as BIT-gitea-2026-20897CVE-2026-20897GHSA-rrq5-r9h5-pc7cGO-2026-4363
Severity
- CVSS 4.0
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
Affected versions
| Affected | Fixed in |
|---|---|
| All versions before 1.25.4 | 1.25.4 |
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.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-20897 ↗
- Webgithub.com/go-gitea/gitea/pull/36344 ↗
- Webgithub.com/go-gitea/gitea/pull/36349 ↗
- Webgithub.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f ↗
- Webblog.gitea.com/release-of-1.25.4 ↗
- Packagegithub.com/go-gitea/gitea ↗
- Webgithub.com/go-gitea/gitea/releases/tag/v1.25.4 ↗