CVE Catalog

CVE-2026-118653

MediumCVSS 5.3
Published: Translated: NVD NIST

Summary

In Echo from 4.0.0 until 5.1.0, Context.RealIP falls back to client-supplied X-Forwarded-For or X-Real-IP when Echo.IPExtractor is unset, and the default RateLimiter uses that result as the client identifier. An attacker can rotate forwarded-address values to obtain new rate-limit buckets and bypass IP-based throttling.

Risk Assessment

IP-based brute-force and request-volume protections can be bypassed, increasing the risk of credential-stuffing and abuse.

Recommendation

Update Echo to version 5.1.0 or later. Configure Echo.IPExtractor according to trusted proxy infrastructure so client-supplied headers are not trusted.

Other vulnerabilities in Echo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS