PT-2026-129169

CVE-2026-118653

·

Published

2026-10-28

·

Updated

2026-11-05

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions Echo versions 4.0.0 through 5.0.9
Description When Echo.IPExtractor is not explicitly set, the Context.RealIP() function falls back to reading client-supplied X-Forwarded-For or X-Real-IP headers without validating the proxy origin. Because the default RateLimiter() middleware uses Context.RealIP() to identify clients, a remote attacker can rotate arbitrary values in these headers to obtain new rate-limit buckets. This allows the attacker to bypass IP-based throttling used for request-volume protection and security controls such as brute-force prevention on login or password reset endpoints.
Technical details include:
  • API Endpoints: Any endpoint protected by the RateLimiter() middleware.
  • Vulnerable Parameters or Variables: X-Forwarded-For and X-Real-IP HTTP headers.
  • Function Names: Context.RealIP() and RateLimiter().
Recommendations Update Echo to version 5.1.0. As a temporary workaround, explicitly configure Echo.IPExtractor using echo.ExtractIPDirect() for non-proxied deployments or echo.ExtractIPFromXFFHeader() for deployments behind trusted proxies. Alternatively, set RateLimiterConfig.IdentifierExtractor to use an identifier that cannot be controlled by the client.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-246P-CPWV-V3JQ
GO-2026-6872
Found an issue in the description? Have something to add? Feel free to write us 👾