CVE-2026-20897
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
Description
Gitea does not properly validate repository ownership when deleting Git LFS locks in code.gitea.io/gitea
Predictions
Exploit likelihood
20%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/go-gitea/gitea | <1.25.4 | 1.25.4 |
| Go | code.gitea.io/gitea | <1.25.4 | 1.25.4 |
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://github.com/go-gitea/gitea/commit/da036f3f35ca830b22cf4480912ed261303b798f
- https://blog.gitea.com/release-of-1.25.4
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/releases/tag/v1.25.4
- https://github.com/advisories/GHSA-393c-qgvj-3xph
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.