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

- Severity: Critical 9.8 (CVSS:3.1, scored by Gitea) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 69.6%, higher than 99% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-03T20:19:29.588Z
- Modified: 2026-10-25T15:10:00.147Z
- Also known as: GHSA-f75j-4cw6-rmx4, GO-2026-6051
- Weaknesses: CWE-284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.26.2
- code.gitea.io/gitea (Go): before 1.26.3

## Every score

- Gitea: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

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

## Sources

- CVE List: [CVE-2026-20896](https://www.cve.org/CVERecord?id=CVE-2026-20896), CVE Terms of Use, modified 2026-07-07
- GitHub Advisory Database: [GHSA-f75j-4cw6-rmx4](https://github.com/advisories/GHSA-f75j-4cw6-rmx4), CC-BY-4.0, modified 2026-07-22
- Go Vulnerability Database: [GO-2026-6051](https://pkg.go.dev/vuln/GO-2026-6051), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-20896](https://nvd.nist.gov/vuln/detail/CVE-2026-20896), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-20896 · Whole record: https://cve.day/CVE-2026-20896.json · Rebuilt by cve.day 2026-11-25T22:59:27.106Z
