1. Accueil
  2. Vulnérabilités
  3. CVE-2026-118651

CVE-2026-118651

Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default

Publiée le 28 oct. 2026 · modifiée le 29 oct. 2026 · Sources : NVD, CNA (éditeur ou attributeur), CERT-FR, EPSS (FIRST)

Faible 27/100

Résumé

Echo is a Go web framework. From 4.0.0 until 5.4.0, the Proxy middleware can preserve an attacker-supplied X-Real-IP header and forward it to an upstream service when Echo.IPExtractor is not configured. A remote client can therefore make upstream services receive a spoofed client address, undermining IP-based access controls, rate limiting, audit logging, or geographic restrictions that trust Echo's forwarded identity. This issue is fixed in Echo 5.4.0.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Labstack (1 ligne(s))
Labstack
ProduitVersionsCorrigé dansSource
Echo Versions non précisées — CNA (éditeur ou attributeur)
Go (4 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/labstack/echo/v4 de 4.0.0 (inclus) à 4.16.2 (inclus) — GitHub Advisory
github.com/labstack/echo/v4 de 4.0.0 (inclus) à 4.16.3 (exclu) 4.16.3 OSV
github.com/labstack/echo/v5 avant 5.4.0 (exclu) 5.4.0 GitHub Advisory
github.com/labstack/echo/v5 avant 5.4.0 (exclu) 5.4.0 OSV

Correctif

Mise à jour — Go/github.com/labstack/echo/v5 5.4.0source officielle

Source : GitHub Advisory

Mise à jour — Go/github.com/labstack/echo/v4 4.16.3; Go/github.com/labstack/echo/v5 5.4.0source officielle

Source : OSV

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Aucune méthode de vérification renseignée.

Chronologie

  1. — Publication de la CVE (cve)

Avis CERT-FR

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
CNA (éditeur ou attributeur)
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
NVD
Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N (CVSS 3.1, CNA:GitHub_M)
Faiblesse
CWE-346 · Autre (CWE-346)

Comment sont obtenues et calculées ces données