# CVE-2026-20896: Gitea Docker image trusts spoofable reverse-proxy headers by default

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 70% (FIRST, 05-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2026-07-03 · Modified: 2026-07-07
- Aliases: GHSA-f75j-4cw6-rmx4, GO-2026-6051
- Record: https://cvemate.com/vulnerability/CVE-2026-20896 · JSON: https://cvemate.com/vulnerability/CVE-2026-20896/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 69.624%, percentile 99.379%, as of 2026-12-05
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- gitea gitea open source git server: ≤ 1.26.2
- code.gitea.io gitea (Go): \< 1.26.3

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4>
- <https://github.com/go-gitea/gitea/pull/38151>
- <https://github.com/go-gitea/gitea/releases/tag/v1.26.3>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-20896>
- <https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9>
- <https://blog.gitea.com/release-of-1.26.3-and-1.26.4>
- <https://github.com/go-gitea/gitea>

---

Data as of 2026-12-05T14:58:45.349Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
