What’s Vulnerable › Vulnerabilities
CVE-2026-20896: Gitea Docker image trusts spoofable reverse-proxy headers by default
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-07-03 · updated 2026-10-25
- Weakness: CWE-284
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 products
- Gitea Open Source Git Server: through 1.26.2
References
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
- https://github.com/go-gitea/gitea/pull/38151
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3
- https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4
- https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4
Get alerted when CVE-2026-20896 or the next vulnerability affects your stack