Skip to main content
← All vulnerabilities
CVE-2026-20896GO-2026-6051GHSA-F75J-4CW6-RMX4

Gitea Docker image trusts spoofable reverse-proxy headers by default

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.26.3
8 proofs of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • Gitea Gitea Open Source Git Server

    through 1.26.2

  • code.gitea.io/giteaGo

    fixed in 1.26.3

References 13

GitHub · go-gitea/gitea

blog.gitea.com

GitHub · projectdiscovery/nuclei-templates

GitHub · EQSTLab/CVE-2026-20896

GitHub · Raincombat/CVE-2026-20896-Gitea-CTF

GitHub · XaocZenon/CVE-2026-20896

GitHub · judgedbykira/CVE-2026-20896-Gitea-Authentication-Bypass

GitHub · kaleth4/CVE-2026-20896

GitHub · rz1027/CVE-2026-20896

GitHub · szybnev/cve-2026-20896-gitea-poc

GitHub · yym8538/CVE-2026-20896