CVE-2026-118651
published medium CVSS 3.1 · 5.3Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| labstack | — | echo>= 4.0.0, < 5.4.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| labstack | echo | >= 4.0.0, < 5.4.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-346 CWE-346: Origin Validation Error
References
3Provider assertions
2GitHub_M · cna
Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c25d451460c5d10172cc77890f430b3f024a5051a0e2289bfa2a34cc35dd29dc
- Ingested
- 29 Oct 2026, 20:57:33 UTC
- Source record
- Official CVE record