CVE-2026-118651: Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default
Vulnerability summary
CVE-2026-118651 is a medium (CVSS 5.3) Origin Validation Error vulnerability in labstack echo. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 10.9% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 2 · Related 2Timeline
- 28-10-2026PublishedVulnerability first disclosed.
- 29-10-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · GoEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
EPSS trend
Probability
0.21%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard14 products
- commercial-expanso-edgeAll versions (No fix recorded)
- falcosidekick-uiAll versions (No fix recorded)
- falcosidekick-ui-fipsAll versions (No fix recorded)
- kube-metrics-adapterAll versions (No fix recorded)
- kube-metrics-adapter-fipsAll versions (No fix recorded) | < 0.2.10-r0
Ubuntu3 products
- golang-github-labstack-echoAll versions (No fix recorded)
- golang-github-labstack-echo.v2All versions (No fix recorded)
- golang-github-labstack-echo.v3All versions (No fix recorded)
Wolfi3 products
- kube-metrics-adapterAll versions (No fix recorded)
- temporalAll versions (No fix recorded) | < 1.10.1-r0
- temporal-ui-serverAll versions (No fix recorded)
Github.com/labstack/echo2 products
- v4≥ 4.0.0, ≤ 4.16.2 | ≥ 4.0.0 (No fix recorded)
- v5< 5.4.0
Debian1 product
- golang-github-labstack-echoAll versions (No fix recorded)
Labstack1 product
- echo≥ 4.0.0, < 5.4.0
6 vendors · 24 products
References
9 links- github.com/labstack/echo/security/advisories/GHSA-99jh-6h7p-pp36X Refsource CONFIRMWEBREPORTAdvisory
- github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5afX Refsource MISCWEBREPORTFIX
- github.com/labstack/echoPACKAGE