Vulnerability advisory
CVE-2026-20896
Gitea Docker image trusts spoofable reverse-proxy headers by default
Also known as GHSA-f75j-4cw6-rmx4GO-2026-6051
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/go-gitea/gitea ↗ | |
| All commits before 4aa0d704f2c7d30351016b740bfc45247fd77efa | 4aa0d704f2c7d30351016b740bfc45247fd77efa |
Also listed as affected (43)
| |
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.
References
- Advisoryblog.gitea.com/release-of-1.26.3-and-1.26.4/ ↗
- Advisorygithub.com/CVEProject/cvelistV5/tree/main/cves/2026/20xxx/CVE-2026-20896.json ↗
- Advisorygithub.com/go-gitea/gitea/releases/tag/v1.26.3 ↗
- Advisorygithub.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4 ↗
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-20896 ↗
- Fixgithub.com/go-gitea/gitea/pull/38151 ↗