What’s Vulnerable › Vulnerabilities
CVE-2026-118653: Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-28 · updated 2026-10-29
- Weakness: CWE-290
Description
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.
Affected products
- labstack echo: from 4.0.0, < 5.1.0
References
- https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2
- https://github.com/labstack/echo/releases/tag/v5.1.0
- https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq
Get alerted when CVE-2026-118653 or the next vulnerability affects your stack