CVE-2026-118653
Dashboard / Vulnerabilities / CVE-2026-118653
CVE-2026-118653
Summary: Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
Details: 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.
References: https://github.com/labstack/echo/releases/tag/v5.1.0, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118653.json, https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq, https://nvd.nist.gov/vuln/detail/CVE-2026-118653, https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2
Affected packages
Package
Name:
Purl:
Affected ranges
Type: GIT
Events:
