CVE-2026-118653
Echo is a Go web framework.
- Severity: Medium
- CVSS 5.3
- EPSS 0.57%
- Public exploit
- P4 · Track
Why P4: track.
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
- go github.com/labstack/echo/v4 >= 4.0.0, <= 4.16.2
- go github.com/labstack/echo/v5 < 5.1.0; first patched: 5.1.0
Weakness
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- NVD record NVD
- CVE Program record CVE Program
- Reference NVD
- Reference NVD
- Reference NVD
- GitHub security advisory GitHub