CVE-2026-20896
CRITICAL 9.8 PoC CATALOGUED DETECTION TEMPLATE ALL-YEARSGitea 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.
VulnCheck KEV reports exploitation for this CVE. These are source-specific reports; review the details and vendor guidance below.
Exploitation likelihood
2.8%chance of exploitation in 30 days · 86th percentile
Impact if exploited
9.8CVSS 3.1 · CRITICAL · CNA
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ✓Complexity: No special conditions — reliably repeatable
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
Public PoC or exploit resources are catalogued below.
- VulnCheck KEV · XDB 0ede3f054e22 · Linked repository
- VulnCheck KEV · XDB dac65188755e · Linked repository
- VulnCheck KEV · XDB 9beacb6c0f06 · Linked repository
- VulnCheck KEV · XDB 04be6b5f087b · Linked repository
- VulnCheck KEV · XDB 635231d59316 · Linked repository
- VulnCheck KEV · XDB 16efe72f2bf4 · Linked repository
- VulnCheck KEV · XDB 76608513f7ce · Linked repository
Listed by the named source; Vulnpedia has not tested these resources.
PoC data: JSON
Detection templates
Detection checks are listed separately from PoCs.
Resource commands
nuclei -id CVE-2026-20896 -u https://TARGETDetection template — review its checks and affected versions before use.curl -s https://vulnpedia.com/cve/CVE-2026-20896/poc.jsonMachine-readable PoC index for this CVE (for automation).Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-284: Improper Access Control
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References and research data (JSON)
Packages and version ranges
Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.
code.gitea.io/gitea Go
pkg:golang/code.gitea.io/gitea
SEMVER range- All earlier versions (introduced 0)
- Fixed boundary (excluded): 1.26.3
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207ZAdditional upstream package constraints
{ "database": { "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-f75j-4cw6-rmx4/GHSA-f75j-4cw6-rmx4.json" } }code.gitea.io/gitea Go
pkg:golang/code.gitea.io/gitea
SEMVER range- All earlier versions (introduced 0)
- Fixed boundary (excluded): 1.26.3
Go Vulnerability Database · GO-2026-6051 · Updated 2026-07-22T21:00:28.336016287ZAdditional upstream package constraints
{ "ecosystem": {}, "database": { "source": "https://vuln.go.dev/ID/GO-2026-6051.json" } }
Unverified PoC candidates
Catalogue matches for further research. These repositories have not been validated as working exploits.
8 candidates
- https://github.com/kaleth4/CVE-2026-20896PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-07-06T17:21:41Z - https://github.com/rz1027/CVE-2026-20896
Public PoC and detector for CVE-2026-20896 ("Gitea Docker: One Header, Any User")
PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-08-05T16:00:45Z - https://github.com/szybnev/cve-2026-20896-gitea-poc
CVE-2026-20896 Gitea Docker X-WEBAUTH-USER auth bypass checker
PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-08-03T09:10:14Z - https://github.com/XaocZenon/CVE-2026-20896
this is a modified POC of rz1027 for CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-07-18T14:07:16Z - https://github.com/EQSTLab/CVE-2026-20896
Gitea Docker Image Authentication Bypass
PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-08-04T00:22:07Z - https://github.com/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.
PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-09-29T15:17:26Z - https://github.com/yym8538/CVE-2026-20896PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-09-25T11:50:15Z - https://github.com/Raincombat/CVE-2026-20896-Gitea-CTF
CVE-2026-20896 Gitea Docker CTF Challenge
PoC-in-GitHub · CVE-2026-20896
PoC-in-GitHub · CVE-2026-20896 · Updated 2026-10-17T09:04:55Z
Additional exploitation reports
Source-specific reports, separate from CISA KEV. Repeated observations from one source are not independent confirmations.
- VulnCheck KEV · 2026-07-06T00:00:00Z
Source guidance: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Source ransomware assessment: Unknown
VulnCheck KEV · CVE-2026-20896 · Updated 2026-07-06T00:00:00Z - VulnCheck KEV · 2026-07-06T00:00:00ZVulnCheck KEV · CVE-2026-20896
- VulnCheck KEV · 2026-07-08T00:00:00ZVulnCheck KEV · CVE-2026-20896
- VulnCheck KEV · 2026-10-20T00:00:00ZVulnCheck KEV · CVE-2026-20896
All CVSS metrics
- CRITICAL 9.8 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CRITICAL 9.8 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4 CVE record · Gitea · Updated 2026-07-05T14:43:07.900Z
CVE record · CISA-ADP · Updated 2026-07-07T17:00:46.549Z
NVD · CVE-2026-20896 · Updated 2026-10-25T15:10:00.147
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
Go Vulnerability Database · GO-2026-6051
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z
Patches & mitigations
- https://github.com/go-gitea/gitea/pull/38151 CVE record · Gitea · Updated 2026-07-05T14:43:07.900Z
NVD · CVE-2026-20896 · Updated 2026-10-25T15:10:00.147
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
Go Vulnerability Database · GO-2026-6051
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://github.com/go-gitea/gitea/releases/tag/v1.26.3 CVE record · Gitea · Updated 2026-07-05T14:43:07.900Z
NVD · CVE-2026-20896 · Updated 2026-10-25T15:10:00.147
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
Go Vulnerability Database · GO-2026-6051
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ CVE record · Gitea · Updated 2026-07-05T14:43:07.900Z
NVD · CVE-2026-20896 · Updated 2026-10-25T15:10:00.147
Advisories
- https://osv.dev/vulnerability/GHSA-f75j-4cw6-rmx4 GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://nvd.nist.gov/vuln/detail/CVE-2026-20896 GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
Go Vulnerability Database · GO-2026-6051
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://osv.dev/vulnerability/GO-2026-6051 Go Vulnerability Database · GO-2026-6051
Go Vulnerability Database · GO-2026-6051 · Updated 2026-07-22T21:00:28.336016287Z - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-41614 EUVD · EUVD-2026-41614
- https://vulncheck.com/kev VulnCheck KEV · CVE-2026-20896 · Updated 2026-07-06T00:00:00Z
Technical & other
- https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9 GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
Go Vulnerability Database · GO-2026-6051
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://blog.gitea.com/release-of-1.26.3-and-1.26.4 GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
Go Vulnerability Database · GO-2026-6051
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://github.com/go-gitea/gitea GitHub Advisory Database · GHSA-f75j-4cw6-rmx4
GitHub Advisory Database · GHSA-f75j-4cw6-rmx4 · Updated 2026-07-22T21:11:39.289604207Z - https://www.linkedin.com/feed/update/urn:li:activity:7479652557561454592/ VulnCheck KEV · CVE-2026-20896 · Updated 2026-07-06T00:00:00Z
- https://www.csa.gov.sg/alerts-and-advisories/alerts/al-2026-083/ VulnCheck KEV · CVE-2026-20896 · Updated 2026-07-06T00:00:00Z
- https://previdian.com/CVE-2026-20896 VulnCheck KEV · CVE-2026-20896 · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/0ede3f054e22 VulnCheck KEV · 0ede3f054e22 · Updated 2026-07-06T00:00:00Z
- https://github.com/rz1027/CVE-2026-20896 VulnCheck KEV · 0ede3f054e22 · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/dac65188755e VulnCheck KEV · dac65188755e · Updated 2026-07-06T00:00:00Z
- https://github.com/szybnev/cve-2026-20896-gitea-poc VulnCheck KEV · dac65188755e · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/9beacb6c0f06 VulnCheck KEV · 9beacb6c0f06 · Updated 2026-07-06T00:00:00Z
- https://github.com/XaocZenon/CVE-2026-20896 VulnCheck KEV · 9beacb6c0f06 · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/04be6b5f087b VulnCheck KEV · 04be6b5f087b · Updated 2026-07-06T00:00:00Z
- https://github.com/EQSTLab/CVE-2026-20896 VulnCheck KEV · 04be6b5f087b · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/635231d59316 VulnCheck KEV · 635231d59316 · Updated 2026-07-06T00:00:00Z
- https://github.com/judgedbykira/CVE-2026-20896-Gitea-Authentication-Bypass VulnCheck KEV · 635231d59316 · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/16efe72f2bf4 VulnCheck KEV · 16efe72f2bf4 · Updated 2026-07-06T00:00:00Z
- https://github.com/yym8538/CVE-2026-20896 VulnCheck KEV · 16efe72f2bf4 · Updated 2026-07-06T00:00:00Z
- https://vulncheck.com/xdb/76608513f7ce VulnCheck KEV · 76608513f7ce · Updated 2026-07-06T00:00:00Z
- https://github.com/Raincombat/CVE-2026-20896-Gitea-CTF VulnCheck KEV · 76608513f7ce · Updated 2026-07-06T00:00:00Z
Sources: NVD · CVE.org · All sources and attribution · EPSS