CVE-2026-20896
CVE-2026-20896 — Gitea Docker image trusts spoofable reverse-proxy headers by default
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.
Published Updated Sources: NVD, Gitea (CNA), GitHub, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
3%
ahead of 85% of scored CVEs
CVSS base
9.8
critical
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
PoC
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Gitea Open Source Git Server to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 to <= 1.26.2 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | CNA, Gitea (CNA) |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-284 · Improper Access Control
- Varies by Context::
Mitigation: Very carefully manage the setting, management, and handling of privileges. Explicitly manage trust zones in the software.
Weakness & attack patterns
- CWE-284Improper Access Control
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1027.009Obfuscated Files or Information: Embedded Payloads
- T1546.004Event Triggered Execution: .bash_profile and .bashrc
- T1546.016Event Triggered Execution: Installer Packages
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
23
Exploit entries
4
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
CVE-2026-20896: Gitea Docker Authentication Bypass - What It Means for Your Business and How to Respond https://t.co/LkaGtEa9Iq
@integ_sec· Jul 30, 2026
Gitea acaba de sufrir un fallo crítico (CVE-2026-20896) por confiar en #headers que cualquiera puede falsificar. La causa: una config por defecto marcada como “*” (confía en todo el mundo) que nadie revisó antes de shippear. Configs por defecto = deuda técnica silenciosa. https://t.co/S5x0AVSoP3
@Zymeralabs· Jul 27, 2026
CVE-2026-20896, CVSS 9.8: an auth bypass in the Gitea Git server. The Docker image up to and including 1.26.2 ships REVERSE_PROXY_TRUSTED_PROXIES set to wildcard.
@gagansuie· Jul 15, 2026
Legacy exposure keeps paying off for attackers. Gitea Docker flaw turns a trusted proxy header into accou… CVE-2026-20896 shows how a wildcard trusted-proxy default in Gitea Docker images can turn r… 🔗 Read → https://t.co/ecJLvSyFJa
@fynn_JourX· Jul 13, 2026
🛑 Gitea Docker flaw turns a trusted proxy header into account takeover CVE-2026-20896 shows how a wildcard trusted-proxy default in Gitea Docker images can turn r… 🔗 Details → https://t.co/fWxUTtdtxF
@lucasverdan· Jul 13, 2026
35 more posts on this CVEShowing 5 of 40 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Gitea Open Source Git Server.
- Monitor for scanner or exploit-pattern traffic after 27 public PoC repositories were reported.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Cve is exploited judgedbykira/CVE-2026-20896-Gitea-Authentication-Bypass
Aug 17, 2026 · SOCRadar CTI
Cve is exploited XaocZenon/CVE-2026-20896
Jul 16, 2026 · SOCRadar CTI
Cve is exploited szybnev/cve-2026-20896-gitea-poc
Jul 8, 2026 · SOCRadar CTI
Added · CVSS 3.1 9.8 (AV:N)
Jul 7, 2026 · NVD
Cve is exploited rz1027/CVE-2026-20896
Jul 6, 2026 · SOCRadar CTI
Initial · CVE published
Jul 3, 2026 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 14×SVRS was changedJul 4, 2026 – Aug 28, 2026 · SOCRadar CTI
- 14×TweetsJul 4, 2026 – Jul 31, 2026 · SOCRadar CTI
- 6×Github ReposJul 5, 2026 – Aug 15, 2026 · SOCRadar CTI
- 1×1 time mentioned on 1 Telegram channelJul 8, 2026 · SOCRadar CTI
- 1×CVE modified by MITRE: CVSS metrics updated.Jul 6, 2026 · SOCRadar CTI
References
4 on the record
- blog.gitea.com/release-of-1.26.3-and-1.26.4/
Vendor Advisory, Mitre, NIST
- github.com/go-gitea/gitea/pull/38151
Exploit, Third Party Advisory, Mitre, NIST
- github.com/go-gitea/gitea/releases/tag/v1.26.3
Exploit, Third Party Advisory, Mitre, NIST
- github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4
Exploit, Third Party Advisory, GITHUB, Mitre, NIST
Coverage
18 stories from the feeds we poll
Over 8,300 Gitea servers vulnerable to code execution attacks - BleepingComputer
bleepingcomputer.com · Aug 28, 2026
Active Exploitation Alert: Critical CVE-2026-20896 Authentication Bypass in Gitea Docker Image Exposes Repositories and Secrets - Rescana
rescana.com · Jul 12, 2026
Gitea Docker Flaw Now Actively Probed: One Header Grants Admin Access to Source Code - Tech Times
techtimes.com · Jul 12, 2026
Critical Authentication Bypass in Gitea Docker Images: What You Need to Know About CVE-2026-20896
medium.com · Jul 12, 2026
Critical Vulnerability in Gitea Docker - Cyber Security Agency of Singapore
csa.gov.sg · Jul 8, 2026
13 more reports on this CVEShowing 5 of 18 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-58443 Public-only repository tokens can update private PR head branchesCVSS n/a
- CVE-2026-58434 Private Repository Metadata Remains Accessible After Access RevocationCVSS n/a
- CVE-2026-57894 Repository Migration Follows Git HTTP Redirects After URL Allow/Block Validation, Enabling Internal Git Repository ExfiltrationCVSS n/a
- CVE-2026-34908 Ubiquiti UniFi OS Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2026-21962 Oracle HTTP Server and Oracle Weblogic Server Proxy Plug-in Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2015-3306 ProFTPD Improper Access Control VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Giteaevery CVE for this vendor
- Gitea Open Source Git Serverevery page on this product
- Access Controlsame class
- CWE-284other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-20896 is Gitea Docker image trusts spoofable reverse-proxy headers by default, a critical vulnerability affecting Gitea Open Source Git Server from Gitea. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 27 public PoC repositories reported; 0 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 3% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.