CVE-2026-20896 Gitea Docker X-WEBAUTH-USER auth bypass checker
Exploit database
Vulnerability
CVE-2026-20896
Gitea Docker image trusts spoofable reverse-proxy headers by default
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · Gitea
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
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.
CVE ProgramExploit source choices
7 sourcesszybnev/cve-2026-20896-gitea-poc
2026-07-075 files · 10 stars
rz1027/cve-2026-20896
Public PoC and detector for CVE-2026-20896 ("Gitea Docker: One Header, Any User")
2026-07-056 files · 6 stars
xaoczenon/cve-2026-20896
this is a modified POC of rz1027 for CVE-2026-20896
2026-07-166 files · 6 stars
eqstlab/cve-2026-20896
Gitea Docker Image Authentication Bypass
2026-07-294 files · 1 stars
judgedbykira/cve-2026-20896-gitea-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.
2026-08-153 files · 1 stars
kaleth4/cve-2026-20896
kaleth4/cve-2026-20896 source repository
2026-07-022 files · 1 stars
yym8538/cve-2026-20896
yym8538/cve-2026-20896 source repository
2026-08-214 files · 1 stars