CVE-2026-20896
Gitea Docker image: `REVERSE_PROXY_TRUSTED_PROXIES = *` default lets any source IP impersonate any user via `X-WEBAUTH-USER`
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon GHSA.
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| go::GitHub Security Advisory Go | code.gitea.io/gitea | 1.26.3 |
| rapidfort alpine 3.20 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.21 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.22 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.23 | gitea | 1.27.1-r0 |
| rapidfort alpine 3.24 | gitea | 1.27.1-r0 |
Références
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4
- https://blog.gitea.com/release-of-1.26.3-and-1.26.4/
- https://github.com/go-gitea/gitea
- https://github.com/go-gitea/gitea/commit/99f8b3d9a1d32f4c39828e07971455a18191e0b9
- https://github.com/go-gitea/gitea/pull/38151
- https://github.com/go-gitea/gitea/releases/tag/v1.26.3
- https://github.com/go-gitea/gitea/security/advisories/GHSA-f75j-4cw6-rmx4
- https://nvd.nist.gov/vuln/detail/CVE-2026-20896