CVE-2026-20896
Gitea Docker image trusts spoofable reverse-proxy headers by default
- Published
- Jul 3, 2026
- Updated
- Jul 7, 2026
- Assigning CNA
- Gitea
- Evidence observed
- Aug 8, 2026
Primary CVSS
nvd · CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLow · next 30 days
- Percentile
- 86.3%
- Model date
- Nov 4, 2026
EPSS is a statistical estimate, not a certainty or a measure of impact. Combine it with CVSS, KEV status, exposure and your environment.
Summary
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.
Sources
http/cves/2026/CVE-2026-20896.yaml
Nuclei TemplatesDeclared conditions
- network: http($.protocol_keys)
- verification: dsl($.matchers[*].type)
Gitea Docker Image Authentication Bypass
An explanation and PoC to exploit CVE-2026-20896 Authentication Bypass Vulnerability on Gitea. Being able to steal session tokens for valid users in the Gitea instance.
Public PoC and detector for CVE-2026-20896 ("Gitea Docker: One Header, Any User")
Proof-of-concept lab and Python/cURL scripts demonstrating CVE-2026-20896, an authentication bypass in official Gitea Docker images via the X-WEBAUTH-USER header.
- CVE-2026-20896Exploit
Automated PoC exploit for CVE-2026-20896, a Gitea authentication bypass via directory traversal in the API authorization header, enabling administrative token theft.
CVE-2026-20896 Gitea Docker X-WEBAUTH-USER auth bypass checker
this is a modified POC of rz1027 for CVE-2026-20896
Docker-based CTF challenge reproducing Gitea 1.26.2 reverse proxy authentication trust misconfiguration, with automated flag setup and writeup for local practice.
Responsible use
Use vulnerability information only on systems you own or are authorized to test. Kitploit links to public research metadata and does not store exploit code or malicious payloads.