CVE-2026-20896 Gitea Docker image trusts spoofable reverse-proxy headers by default
CriticalCVSS 9.8
EPSS 2.8%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: total
- Technology
- Docker
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.3 | 1.26.3 | Fixed |
| Gitea Open Source Git Server | <= 1.26.2 | after 1.26.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/gitea(Go) | < 1.26.3 | 1.26.3 |
| Gitea Open Source Git Server | <= 1.26.2 | No fix listed |
References
- GitHub Security Advisory exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- GitHub Pull Request #38151 patch
- github.com patch
- Gitea v1.26.4 Release Blog Post release-notes
- github.com product
- Gitea v1.26.3 Release release-notes
- github.com