CVE-2026-20896: critical vulnerability in Gitea Open Source Git Server
Gitea Docker image trusts spoofable reverse-proxy headers by default
Published · Updated
85Vexday Risk Score
Patch now. It exploitation observed by VulnCheck and has a working public exploit.
ssvc Actcvss 9.8epss 2.8%
from disclosure to weapon0 days
Published on NVDJul 3
1st PoCJul 2
VulnCheck+3d
exploitation probability
2.8%top 14% of all CVEs
observed exploitation
yesVulnCheck
14 public exploit(s)
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected products
Gitea · Gitea Open Source Git Serverpublic PoCs found — 14
githubgithub.com/szybnev/cve-2026-20896-gitea-poc★ 10githubgithub.com/rz1027/CVE-2026-20896★ 6githubgithub.com/XaocZenon/CVE-2026-20896★ 6githubgithub.com/yym8538/CVE-2026-20896★ 1githubgithub.com/kaleth4/CVE-2026-20896★ 1githubgithub.com/judgedbykira/CVE-2026-20896-Gitea-Authentication-Bypass★ 1githubgithub.com/EQSTLab/CVE-2026-20896★ 1githubgithub.com/Lite-os15/Lab-001-Gitea-CVE-2026-20896-★ 0vulncheckvulncheck.com/xdb/9beacb6c0f06unverifiedvulncheckvulncheck.com/xdb/0ede3f054e22unverifiedvulncheckvulncheck.com/xdb/04be6b5f087bunverifiedvulncheckvulncheck.com/xdb/16efe72f2bf4unverifiedvulncheckvulncheck.com/xdb/dac65188755eunverifiedvulncheckvulncheck.com/xdb/635231d59316unverified⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Related CVEs — Gitea Open Source Git Server
In the same product, most dangerous first.
CVE-2024-6886CRITICALInproper Sanitation of field leading to stored XSSEPSS 33.0%CVE-2026-27771HIGHGitea Composer package source links use insufficient permission checksEPSS 1.4%CVE-2026-26292CRITICALGitea LFS mirror synchronization bypasses migration HTTP transport restrictionsEPSS 0.7%CVE-2026-27780CRITICALGitea pre-receive hook can miss branch-protection checks after scanner errorsEPSS 0.6%CVE-2026-26307HIGHGitea git grep search lacks a timeoutEPSS 0.6%CVE-2026-58422CRITICALImproper authorization on OAuth sign-in callback silently re-enables administrator-disabled accountsEPSS 0.6%