CVE-2026-20896
published critical CVSS 3.1 · 9.8Gitea Docker image trusts spoofable reverse-proxy headers by default
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | Gitea Open Source Git Server0 through 1.26.2 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- Gitea · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | 0 through 1.26.2 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
1- CWE-284
References
4- Gitea v1.26.4 Release Blog Post https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
- GitHub Pull Request #38151 https://github.com/go-gitea/gitea/pull/38151
- Gitea v1.26.3 Release https://github.com/go-gitea/gitea/releases/tag/v1.26.3
- GitHub Security Advisory https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4
Provider assertions
2Gitea · cna
Gitea Docker image trusts spoofable reverse-proxy headers by default
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 0e7eeb9ef0225747e6fbe687756d0ef20e109acfd2798a0276d9a6ce37c17dce
- Ingested
- 23 Sep 2026, 09:04:58 UTC
- Source record
- Official CVE record