Black Friday60% off BLACKFRIDAY2026
Platform
PlansPartners
Resources
ToolsBlogDocs
Sign Up →
CVE

CVE-2026-20896

9.8
CVSScritical
Exploitable remotely over the internet · no authentication required.
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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
gitea open source git server
Updated Nov 15, 2026View on NVD →
S4E scanner

Gitea Docker Image <= 1.26.2 - Reverse Proxy Header Authentication Bypass

The official Gitea Docker image through version 1.26.2 ships with REVERSE_PROXY_TRUSTED_PROXIES set to a wildcard, causing Gitea to trust reverse-proxy authentication headers (X-WEBAUTH-USER) from any source IP instead of restricting trust to the configured reverse proxy. When reverse-proxy authentication is enabled, an unauthenticated remote attacker can impersonate any existing user, including an administrator, by sending the target username in the X-WEBAUTH-USER header. References: https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4 https://blog.gitea.com/release-of-1.26.3-and-1.26.4/ https://github.com/go-gitea/gitea/pull/38151 https://www.ionix.io/threat-center/cve-2026-20896/ https://nvd.nist.gov/vuln/detail/CVE-2026-20896 Remediation: Upgrade the Gitea Docker image to version 1.26.3 or 1.26.4 or later, which restricts REVERSE_PROXY_TRUSTED_PROXIES to the intended internal proxy addresses.

Used 20 times · 10 assets checked · domain, subdomain, ipv4

CVE history: gitea open source git server

Predict next CVE date with AI

Monitor this CVE on your assets

S4E maps published CVEs to scanners and forecasts the next disclosure window for your stack.

Create a free account →