CVE-2026-20896
CRITICAL 9.8CVSS 3.1Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`
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.
- Published
- 3 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- 88ee5874-cf24-4952-aea0-31affedb7ff2
- NVD status
- Deferred
- Weakness
- CWE-284
- Also known as
- GHSA-f75j-4cw6-rmx4GO-2026-6051
- Sources
- NVDJSONOSV GHSA-f75j-4cw6-rmx4JSONOSV GO-2026-6051JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 88ee5874-cf24-4952-aea0-31affedb7ff2 (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | code.gitea.io/gitea | < 1.26.3 | 1.26.3 |
References
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ · WEB
- https://github.com/go-gitea/gitea/pull/38151 · WEB
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3 · WEB
- https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-20896 · ADVISORY
- https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9 · WEB
- https://github.com/go-gitea/gitea · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 22 Jul 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 21 Jul 2026)