Stackurity Start free trial

CVEs / CVE-2026-20896

CVE-2026-20896: Gitea Gitea Open Source Git Server vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2026-20896

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.

The CVE record, via NVD · published 3 Jul 2026 · NVD status: Deferred

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
Gitea Gitea Open Source Git Serverup to and including 1.26.2—
As stated by OSV
ProductAffectedFixed in
code.gitea.io/gitea (Go)before 1.26.31.26.3

Package versions from GHSA-f75j-4cw6-rmx4.

Exploitation

Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by the CNA (88ee5874-cf24-4952-aea0-31affedb7ff2)
WeaknessCWE-284

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.