What’s Vulnerable › Vulnerabilities

CVE-2026-20897: Gitea Git LFS Lock Deletion Broken Access Control (Cross-Repo IDOR)

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.

Affected products

How to fix

Upgrade to a fixed version: Gitea Open Source Git Server 1.25.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-20897 or the next vulnerability affects your stack