Home / Gitea / Gitea Open Source Git Server / CVE-2026-20896
CVE-2026-20896: is it exploited, and which versions of Gitea Open Source Git Server are affected and fixed?
CVE-2026-20896 is an improper access control vulnerability in Gitea Open Source Git Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: code.gitea.io/gitea before 1.26.3 (GitHub advisory GHSA-f75j-4cw6-rmx4). Fixed in 1.26.3 (GitHub advisory GHSA-f75j-4cw6-rmx4). Severity: Critical (9.8, CVSS 3.1, from Gitea).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:08 UTC and NVD November 19, 2026, 07:10 UTC.
What is CVE-2026-20896?
Gitea Docker image trusts spoofable reverse-proxy headers by default
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.
From the CVE record by Gitea, last updated July 7, 2026, 17:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Gitea | Gitea Open Source Git Server | through 1.26.2 |
As the CVE record by Gitea states it, last updated July 7, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | code.gitea.io/gitea | < 1.26.3 | 1.26.3 | GHSA-f75j-4cw6-rmx4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 21, 2026. Summary: Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`.
How severe is CVE-2026-20896?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | Gitea |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-20896 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, July 6, 2026)
- EPSS
- 69.6% probability of exploitation activity in the next 30 days, percentile 99.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-284 Improper Access Control
Where are the vendor advisories and references?
- GitHub Security Advisory vendor-advisory
- GitHub Pull Request #38151 patch
- Gitea v1.26.3 Release release-notes
- Gitea v1.26.4 Release Blog Post release-notes
Who found and reported it?
- Joshua Martinelle (Tenable) (reporter)
- rz1027 (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- March 3, 2026
- Published
- July 3, 2026, 20:19 UTC
- CVE record updated
- July 7, 2026, 17:00 UTC by Gitea
- NVD
- Deferred, last modified October 25, 2026, 15:10 UTC
- Last checked
- CVE list November 19, 2026, 07:08 UTC; NVD November 19, 2026, 07:10 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Gitea Open Source Git Server?
- Aug 13, 2026CVE-2026-24791 Gitea Open Source Git Server: incorrect authorization
- Aug 13, 2026CVE-2026-24059 Gitea Open Source Git Server: privilege escalation (improper privilege management)
- Aug 13, 2026CVE-2026-59765 Gitea Open Source Git Server: server-side request forgery (SSRF)
- Aug 13, 2026CVE-2026-59763 Gitea Open Source Git Server: improper access control
- Aug 13, 2026CVE-2026-58511 Gitea Open Source Git Server: information disclosure
- Aug 13, 2026CVE-2026-58510 Gitea Open Source Git Server: information disclosure
- Aug 13, 2026CVE-2026-58508 Gitea Open Source Git Server: improper access control
- Aug 13, 2026CVE-2026-58507 Gitea Open Source Git Server: improper access control
Every CVE in Gitea Open Source Git Server
Questions about CVE-2026-20896
Is CVE-2026-20896 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 69.6% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Gitea Open Source Git Server are affected by CVE-2026-20896?
code.gitea.io/gitea before 1.26.3, per the GitHub advisory GHSA-f75j-4cw6-rmx4. The tables above give every range the sources list.
Which version fixes CVE-2026-20896?
1.26.3, per the GitHub advisory GHSA-f75j-4cw6-rmx4. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-20896?
Critical (9.8, CVSS 3.1, from Gitea). The severity table above shows each score with its source.
Where is the official record of CVE-2026-20896?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.