5.3
MediumCVSS 3.1 · from GitHub_M
CVE-2026-118651
Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
echo · CWE-346 · CWE-346Affectedecho
FixNo fix listed yet.
PublishedOct 28, 19:30 · GitHub_M
ScoredOct 28 · 5.3 · GitHub_M
Exploit code publicNone known · checked 21:18 UTC
ExploitedNone known · CISA KEV checked 22:08 UTC
What we know
No known exploitation. CISA KEV, checked 22:08 UTC.
No public exploit code known. Exploit-DB, Metasploit, Nuclei, checked 21:18 UTC.
An attacker only needs network access to the target. No login needed. CVSS: network, no privileges.
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.
From GitHub_M
Affected and fixed versions
ProductAffectedFixed inecho>= 4.0.0, < 5.4.0–
Exploit code
Exploit-DBnone knownMetasploitnone knownNucleinone known