Skip to content

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

CriticalCVSS 9.8 EPSS 2.8% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total
Technology
Docker

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
code.gitea.io/gitea(Go) < 1.26.3 1.26.3 Fixed
Gitea Open Source Git Server <= 1.26.2 after 1.26.2 Fixed

Affected products

ProductAffected versionsFixed in
code.gitea.io/gitea(Go) < 1.26.3 1.26.3
Gitea Open Source Git Server <= 1.26.2 No fix listed

References