{"id":"CVE-2026-118651","published":"2026-10-28T19:30:01Z","modified":"2026-10-29T20:53:54Z","title":"Echo: Reverse Proxy Forwards Attacker-Supplied X-Real-IP to Upstream by Default","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00207,"percentile":0.10607,"provenance":"source"},"cwes":[{"id":"CWE-346","name":"Origin Validation Error"}],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-99jh-6h7p-pp36","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v5.4.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":2.12},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":[">= 4.0.0, < 5.4.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-29T15:43:33.931251Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.4.0"],"patched":["5.4.0"],"from":["GHSA-99jh-6h7p-pp36","GO-2026-6875"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/labstack/echo/v4","vulnerableRanges":[">=4.0.0, <=4.16.2",">=4.0.0, <4.16.3"],"patched":["4.16.3"],"from":["GHSA-99jh-6h7p-pp36","GO-2026-6875"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112406","exploited":false,"provenance":"source"}}