Vulnerability · Published Oct 28, 2026 · Assigned by GitHub_M
CVE-2026-118653Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
Medium 5.3
In plain English
A medium-severity authentication bypass by spoofing in echo from labstack. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | golang-github-labstack-echo | no fix listed | DEBIAN-CVE-2026-118653 |
| Debian:13 | golang-github-labstack-echo | no fix listed | DEBIAN-CVE-2026-118653 |
| Debian:14 | golang-github-labstack-echo | no fix listed | DEBIAN-CVE-2026-118653 |
| Go | github.com/labstack/echo/v4 | no fix listed | GO-2026-6872 |
| Go | github.com/labstack/echo/v4 | no fix listed | GHSA-246p-cpwv-v3jq |
| Go | github.com/labstack/echo/v5 | 5.1.0 | GHSA-246p-cpwv-v3jq |
| Go | github.com/labstack/echo/v5 | 5.1.0 | GO-2026-6872 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118653 |
| Ubuntu:24.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118653 |
| Ubuntu:26.04:LTS | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118653 |
| Ubuntu:26.10 | golang-github-labstack-echo | no fix listed | UBUNTU-CVE-2026-118653 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo.v2 | no fix listed | UBUNTU-CVE-2026-118653 |
| Ubuntu:22.04:LTS | golang-github-labstack-echo.v3 | no fix listed | UBUNTU-CVE-2026-118653 |
Affected products (as reported)
Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq x_refsource_CONFIRM
- https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2 x_refsource_MISC
- https://github.com/labstack/echo/releases/tag/v5.1.0 x_refsource_MISC