Home

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.

PUBLISHED Reserved 2026-01-08 | Published 2026-01-22 | Updated 2026-01-23 | Assigner Gitea

Problem types

CWE-284: Improper Access Control

CWE-639: Authorization Bypass Through User-Controlled Key

Product status

Default status
unaffected

Any version
affected

Credits

spingARbor reporter

References

github.com/.../gitea/security/advisories/GHSA-rrq5-r9h5-pc7c (GitHub Security Advisory) vendor-advisory

github.com/go-gitea/gitea/pull/36344 (GitHub Pull Request #36344) patch

github.com/go-gitea/gitea/pull/36349 (GitHub Pull Request #36349) patch

github.com/go-gitea/gitea/releases/tag/v1.25.4 (Gitea v1.25.4 Release) release-notes

blog.gitea.com/release-of-1.25.4/ (Gitea v1.25.4 Release Blog Post) release-notes

cve.org (CVE-2026-20897)

nvd.nist.gov (CVE-2026-20897)

Download JSON