CVE-2026-20897: Gitea Open Source Git Server · Improper Access Control
Affects Gitea Open Source Git ServerSource CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 06:15 UTC
- EPSS
- 0.4% chance of exploitation in 30 days – higher than 39% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GiteaGitea Open Source Git Server | Affected
| Fixed in– |
Gogithub.com/go-gitea/giteapkg:golang/github.com/go-gitea/giteaOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
The provided Red Hat advisory link does not specify an official fix or workaround. Until a patch or official mitigation is available, restrict write access to trusted users only and monitor repository activities closely to detect any unauthorized LFS lock deletions.
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
- github.com/go-gitea/gitea/security/advisories/GHSA-rrq5-r9h5-pc7c (opens in a new tab)
- github.com/go-gitea/gitea/pull/36344 (opens in a new tab)
- github.com/go-gitea/gitea/pull/36349 (opens in a new tab)
- github.com/go-gitea/gitea/releases/tag/v1.25.4 (opens in a new tab)
- blog.gitea.com/release-of-1.25.4/ (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-20897 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2432204 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-20897.json (opens in a new tab)