{"id":"CVE-2026-118653","published":"2026-10-28T19:42:05Z","modified":"2026-11-02T20:41:49Z","title":"Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration","vendor":"labstack","product":"echo","tier":"tail","description":{"text":"Echo is a Go web framework. From 4.0.0 until 5.1.0, Context.RealIP falls back to client-supplied X-Forwarded-For or X-Real-IP values when Echo.IPExtractor is unset, and the default RateLimiter uses that result as its client identifier. A remote attacker can rotate arbitrary forwarded-address values to obtain new rate-limit buckets and bypass IP-based throttling used for controls such as brute-force or request-volume protection. This issue is fixed in Echo v5.1.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.00494,"percentile":0.43007,"provenance":"source"},"cwes":[{"id":"CWE-290","name":"Authentication Bypass by Spoofing"}],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2","tags":["x_refsource_MISC"]},{"url":"https://github.com/labstack/echo/releases/tag/v5.1.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.3,"factors":[{"name":"EPSS percentile","points":8.6},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"labstack","affectedVersions":[{"vendor":"labstack","product":"echo","versions":[">= 4.0.0, < 5.1.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-02T20:41:24.678698Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/labstack/echo/v5","vulnerableRanges":["<5.1.0"],"patched":["5.1.0"],"from":["GHSA-246p-cpwv-v3jq","GO-2026-6872"],"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-246p-cpwv-v3jq","GO-2026-6872"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-112409","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-25766","published":"2026-02-19","fixed":"5.0.3","kev":false,"link":{"from":"CVE-2026-25766","to":"CVE-2026-118653","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/labstack/echo/v5","fromFixed":"5.0.3","toFixed":"5.1.0","daysApart":251},{"kind":"same-code","provenance":"machine","files":["context.go","echo.go"],"commits":["https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2","https://github.com/labstack/echo/commit/ebbb855f5827b76fb206e267dd91d020000baf66","https://github.com/labstack/echo/commit/b1d443086ea27cf51345ec72a71e9b7e9d9ce5f1"],"basis":"shared file"}]}},{"cve":"CVE-2026-118653","published":"2026-10-28","fixed":"5.1.0","kev":false},{"cve":"CVE-2026-118658","published":"2026-10-28","fixed":"5.1.1","kev":false,"link":{"from":"CVE-2026-118653","to":"CVE-2026-118658","relation":"successor","confidence":"high","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/labstack/echo/v5","fromFixed":"5.1.0","toFixed":"5.1.1","daysApart":0},{"kind":"same-code","provenance":"machine","files":["context.go"],"commits":["https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2","https://github.com/labstack/echo/commit/ebbb855f5827b76fb206e267dd91d020000baf66","https://github.com/labstack/echo/commit/ca4f38a474302aabee93c66bdd0052359882e181","https://github.com/labstack/echo/commit/d1d8ad3f99dd9b80542cd0c357d56a8916c515df"],"basis":"shared file"}]}},{"cve":"CVE-2026-118655","published":"2026-10-28","fixed":"5.2.0","kev":false},{"cve":"CVE-2026-55677","published":"2026-06-26","fixed":"5.2.0","kev":false}],"package":"Go:github.com/labstack/echo/v5"}}