Gitea Docker image trusts spoofable reverse-proxy headers by default
Summary
| CVE | CVE-2026-20896 |
|---|---|
| State | PUBLISHED |
| Assigner | Gitea |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-03 21:16:56 UTC |
| Updated | 2026-07-07 18:16:35 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from 88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS: 0.007830000 probability, percentile 0.516830000 (date 2026-07-09)
Problem Types: CWE-284 | CWE-284 CWE-284
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Gitea | Gitea Open Source Git Server | affected 1.26.2 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| blog.gitea.com/release-of-1.26.3-and-1.26.4 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | blog.gitea.com | |
| github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | github.com | |
| github.com/go-gitea/gitea/pull/38151 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | |
| github.com/go-gitea/gitea/releases/tag/v1.26.3 | 88ee5874-cf24-4952-aea0-31affedb7ff2 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Joshua Martinelle (Tenable) (en)
CNA: rz1027 (en)
There are currently no legacy QID mappings associated with this CVE.