CVE-2026-20896
CriticalExploitedPublic exploitGitea 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 Jul 3, 2026 · Updated Aug 12, 2026 · Also known as GHSA-f75j-4cw6-rmx4, GO-2026-6051
Key Facts
Patch immediately- CVE-2026-20896 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting code.gitea.io/gitea (go), Gitea Open Source Git Server.
- It is exploited in the wild, listed in Industry KEV feed since Jul 6, 2026. Public exploit code is available.
- EPSS estimates a 2.8% probability of exploitation in the next 30 days.
- Fixed versions are available, including code.gitea.io/gitea 1.26.3.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
2.8%
Higher than 86.0% of all scored CVEs
Exploited in the wild
Yes
1 catalog listing
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2026-20896 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
Description
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jul 6, 2026 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
2 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| code.gitea.io/giteago | See advisory | 1.26.3 |
| Gitea Open Source Git Server | See advisory | n/a |
Patched Releases
code.gitea.io/gitea
1.26.3
Timeline
Publicly disclosed
Jul 3, 2026
Added to Industry KEV feed
Jul 6, 2026
Last updated
Aug 12, 2026
Weakness Type
- CWE-284 Improper Access Control
References
- advisoryhttps://blog.gitea.com/release-of-1.26.3-and-1.26.4
- advisoryGHSA advisory
- advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20896.json
- advisoryhttps://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9
- advisoryhttps://github.com/go-gitea/gitea/security/advisories
FAQ
Common Questions.
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.
Affected: code.gitea.io/gitea (go); Gitea Open Source Git Server. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Jul 6, 2026.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including code.gitea.io/gitea 1.26.3.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2026-20896 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo