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

CVE-2026-118265

Echo: X-Real-IP extractor trusts the header value instead of the sending peer

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

Faible 26/100

Résumé

Echo is a Go web framework. From 5.0.0 until 5.4.1, Echo v5's ExtractIPFromRealIPHeader validates whether the client-supplied X-Real-IP value belongs to a trusted range instead of validating the direct network peer. A client reaching Echo directly, or through a proxy that preserves the header, can supply a loopback or private address and have Context.RealIP return that spoofed identity. Applications using the extractor for IP allowlists, rate limiting, audit logs, or forwarding headers can consequently trust an attacker-controlled address; the default direct extractor and Echo v4 are unaffected. This issue is fixed in 5.4.1.

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 (2 ligne(s))
Go
ProduitVersionsCorrigé dansSource
github.com/labstack/echo/v5 de 5.0.0 (inclus) à 5.4.1 (exclu) 5.4.1 GitHub Advisory
github.com/labstack/echo/v5 de 5.0.0 (inclus) à 5.4.1 (exclu) 5.4.1 OSV

Correctif

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

Source : GitHub Advisory

Mise à jour — Go/github.com/labstack/echo/v5 5.4.1source 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-348 · Autre (CWE-348)

Comment sont obtenues et calculées ces données