Vulnerability · Published Oct 6, 2026 · Assigned by Gitea
CVE-2026-95106Gitea review and execution mismatch through duplicate tree entries
Critical 9.1
In plain English
A critical-severity security flaw in Gitea from Gitea. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 27% of all known vulnerabilities).
Official description
Gitea accepted pushed Git trees containing two entries with the same name, which Git's own consistency checks reject. Gitea's web views resolved such a path to the first entry, while `git checkout`, Gitea Actions, and release archives use the last. A contributor could open a pull request whose diff and file views show benign content while CI and checkouts at the same commit use different, attacker-controlled content. Incoming objects are now checked for consistency; objects already stored in existing repositories are not rescanned.
Affected products (as reported)
Weakness: CWE-706 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
References
- GitHub Security Advisory GHSA-6pv5-8rp7-8c75 vendor-advisory
- Fix: go-gitea/gitea pull request #39472 patch
- Gitea 28.0.0 release announcement release-notes
- go-gitea/gitea v28.0.0 release release-notes