CVE-2026-20896: critical vulnerability in Gitea Open Source Git Server
Gitea Docker image trusts spoofable reverse-proxy headers by default
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
97Vexday Risk Score
Patch now. It exploitation observed in the wild and has a working public exploit.
ssvc Actcvss 9.8epss 70%
from disclosure to weaponsame day
Published on NVDJul 3
1st PoCJul 2
Observed exploitation+3d
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 — 8
githubgithub.com/szybnev/cve-2026-20896-gitea-poc★ 10githubgithub.com/XaocZenon/CVE-2026-20896★ 6githubgithub.com/rz1027/CVE-2026-20896★ 6githubgithub.com/judgedbykira/CVE-2026-20896-Gitea-Authentication-Bypass★ 1githubgithub.com/EQSTLab/CVE-2026-20896★ 1githubgithub.com/kaleth4/CVE-2026-20896★ 1githubgithub.com/yym8538/CVE-2026-20896★ 1githubgithub.com/Lite-os15/Lab-001-Gitea-CVE-2026-20896-★ 0⚠ 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 52.8%CVE-2026-27771HIGHGitea Composer package source links use insufficient permission checksEPSS 33.3%CVE-2026-27775HIGHGitea pre-receive hook permission cache allows full repository write accessEPSS 0.9%CVE-2026-58443CRITICALPublic-only repository tokens can update private PR head branchesEPSS 0.7%CVE-2026-56654CRITICALPrivilege Escalation via Access Token Scope Escalation in APIEPSS 0.7%CVE-2026-22874CRITICALGitea webhook and migration allow-list filtering permits SSRFEPSS 0.7%