Critical severity9.8NVD Advisory· Published Jul 3, 2026· Updated Jul 7, 2026
CVE-2026-20896
CVE-2026-20896
Description
Gitea Docker image versions up to and including 1.26.2 use REVERSE_PROXY_TRUSTED_PROXIES=* by default, allowing any source IP to impersonate a user when reverse-proxy authentication headers such as X-WEBAUTH-USER are enabled.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
code.gitea.io/giteaGo | < 1.26.3 | 1.26.3 |
Affected products
2- osv-coordsRange: < 0.0.20260723T184607-160000.1.1
Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-f75j-4cw6-rmx4ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-20896ghsaADVISORY
- blog.gitea.com/release-of-1.26.3-and-1.26.4ghsaWEB
- github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9ghsaWEB
- github.com/go-gitea/gitea/pull/38151nvdWEB
- github.com/go-gitea/gitea/releases/tag/v1.26.3nvdWEB
- github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4nvdWEB
- blog.gitea.com/release-of-1.26.3-and-1.26.4/nvd
News mentions
1- Critical Gitea Flaw Let Unauthenticated Attackers Read Server Files via Org-Mode MarkupThe Hacker News · Aug 5, 2026