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