CVE-2026-20896

Gitea Docker image trusts spoofable reverse-proxy headers by default

State
Published
Severity
9.8 Critical
Published
Jul 3, 2026
Updated
Jul 7, 2026
Reserved
Mar 3, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HGitea

Weaknesses

Affected Products

ProductVersions
Gitea Open Source Git ServerGitea
  • 1.26.2 and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.