NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2026-20897: Gitea does not properly validate repository ownership when deleting Git LFS locks

mediumCVSS 4.0 5.3GHSA-393c-qgvj-3xph

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.

Published Jan 23, 2026

Affected packages

github.com/go-gitea/gitea

Ecosystem
Go
Affected
< 1.25.4
Fixed in
1.25.4
Check
go list -m github.com/go-gitea/gitea

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries