Medium severity · published Oct 28, 2026
CVE-2026-118653
Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
New
5.3
CVSS
–
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EC
echo · labstack
>= 4.0.0, < 5.1.0 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-118653
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-118653
github.com
https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2
github.com
https://github.com/labstack/echo/releases/tag/v5.1.0
github.com
https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq
More from echo
9.6
CVE-2022-40083
Labstack Echo v4.8.0 was discovered to contain an open redirect vulnerability via the Static Handler component
9.1
CVE-2026-118264
Echo: Rejected WebSocket upgrades can bypass Echo route-level access controls
8.2
CVE-2026-118262
Echo: WebSocket proxy can retain connections and handlers after client disconnect
8.2
CVE-2026-118261
Echo: Decompress permits unbounded gzip expansion in v4
8.2
CVE-2026-118260
Echo: BodyDump captures request and response bodies without size limits in v4
