CVE-2026-20896: Vulnerability in code.gitea.io/gitea

Critical. 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.

Go, CWE-284

Exploitation
None confirmed
Severity
9.8 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-f75j-4cw6-rmx4
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-284
Published
3 Jul 2026
Last change
25 Oct 2026
Ecosystem
Go

Affected packages

Vulnerable version ranges and fixed releases

  • code.gitea.io/gitea Go, Affected before 1.26.3. Fixed in 1.26.3

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes