Vulnerability
CVE-2026-118651
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.
34 advisories report this vulnerability, across 7 ecosystems.
Advisories
- CGA-2855-4p83-2xx7
- CGA-2r36-8jp2-cr98
- CGA-389x-p4c5-xv58
- CGA-4x3r-g7m2-pjj2
- CGA-58x8-vcc2-7pwm
- CGA-7f4f-mvjr-9hq6
- CGA-833x-6487-xhrh
- CGA-8vp8-54h4-wr6f
- CGA-9r53-3wfq-w7vh
- CGA-c875-f3rp-m83j
- CGA-cq9w-rf3x-m759
- CGA-cqhf-fcmr-7hch
- CGA-cwrp-9vcm-wv98
- CGA-f65c-8cfv-xw7g
- CGA-f6mp-wwvg-46rg
- CGA-f8wv-25f3-4ch7
- CGA-gfxv-33c9-6hgq
- CGA-hwg3-hc27-8r98
- CGA-j5vx-w8q5-45h9
- CGA-ph9w-mf73-vgjv
- CGA-phgw-7xfw-fjw9
- CGA-phxp-965c-3c4q
- CGA-pwc3-pcm9-h4qf
- CGA-r5mv-vhm3-r2x3
- CGA-r6fj-f962-j667
- CGA-rm47-962w-jv5c
- CGA-xgjw-mjjw-4cjg
- CGA-xxp3-jfgv-rvr7
-
DEBIAN-CVE-2026-118651
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…
-
GHSA-99jh-6h7p-pp36
Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
-
GO-2026-6875
Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default in github.com/labstack/echo
-
SUSE-SU-2026:24730-1
Security update for govulncheck-vulndb
-
UBUNTU-CVE-2026-118651
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…
-
openSUSE-SU-2026:22336-1
Security update for govulncheck-vulndb