CVE-2026-118657
CVE-2026-118657 · Echo: HTTPS Redirect and HSTS Bypass via Unconditional Trust of Forwarded Scheme Headers
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Context.Scheme unconditionally trusts forwarded scheme headers from any client. A client that reaches Echo directly over plaintext HTTP can claim an HTTPS scheme and bypass HTTPSRedirect because the request is treated as already secure. Separately, behind a TLS-terminating proxy that passes an attacker-controlled header, a claimed HTTP scheme can suppress the Strict-Transport-Security header even though the browser receives the response over HTTPS. The practical risk is reduced when a trusted proxy overwrites the headers and direct backend access is prevented, but the framework previously had no trusted-source configuration for this decision. This issue is fixed in 4.16.0 and 5.4.0.
CVSS 5.9 · Moyenne · EPSS 0,1%
- Publication
- Mise à jour
Pile logicielle: system
Produits et versions concernés
echo
- Versions du logiciel
- >= 5.0.0, < 5.4.0: Concernée
- < 4.16.0: Concernée
Aucun correctif publié
golang-github-labstack-echo Debian:12
- Versions du logiciel
- 4.11.1-1
- 4.11.1-2
- 4.12.0-1
- 4.2.1-3
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo Debian:13
- Versions du logiciel
- 4.12.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo Debian:14
- Versions du logiciel
- 4.12.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo.v2 Ubuntu:20.04:LTS
- Versions du logiciel
- 2.2.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo.v3 Ubuntu:20.04:LTS
- Versions du logiciel
- 3.3.5-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo Ubuntu:22.04:LTS
- Versions du logiciel
- 4.2.1-2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo.v2 Ubuntu:22.04:LTS
- Versions du logiciel
- 2.2.0-2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo.v3 Ubuntu:22.04:LTS
- Versions du logiciel
- 3.3.10-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo Ubuntu:24.04:LTS
- Versions du logiciel
- 4.11.1-2
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo Ubuntu:26.10
- Versions du logiciel
- 4.12.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
golang-github-labstack-echo Ubuntu:26.04:LTS
- Versions du logiciel
- 4.12.0-1
- Plages de versions concernées
- ECOSYSTEM: (−∞, +∞)
Aucun correctif publié
Sources originales
- https://github.com/labstack/echo/security/advisories/GHSA-2ffq-g2xg-c22p
- https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1
- https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af
- https://github.com/labstack/echo/releases/tag/v4.16.0
- https://github.com/labstack/echo/releases/tag/v5.4.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-118657