CVE-2026-118653 Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration
MediumCVSS 5.3
EPSS 0.42%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
14 packages: 0 fixed, 1 partially fixed, 12 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux golang-github-labstack-echo-4(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| azure linux grafana(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| azure linux osbuild-composer(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| debian/golang-github-labstack-echo(Debian 12) | = 4.2.1-3; = 4.11.1-1; = 4.11.1-2; = 4.12.0-1 +1 more | No fix listed | No fix yet |
| debian/golang-github-labstack-echo(Debian 13) | = 4.12.0-1; All versions | No fix listed | No fix yet |
| debian/golang-github-labstack-echo(Debian 14) | = 4.12.0-1; All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo.v2(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-labstack-echo.v3(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| labstack github.com/labstack/echo/v4(Go) | < 5.1.0; >= 4.0.0; >= 4.0.0, <= 4.16.2 | 5.1.0 | Partially fixed |
| labstack github.com/labstack/echo/v4 | = >= 4.0.0, < 5.1.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| labstack github.com/labstack/echo/v4(Go) | < 5.1.0 | 5.1.0 |
| labstack github.com/labstack/echo/v4(Go) | >= 4.0.0, <= 4.16.2 | No fix listed |
| labstack github.com/labstack/echo/v4(Go) | >= 4.0.0 | No fix listed |
| labstack github.com/labstack/echo/v4 | = >= 4.0.0, < 5.1.0 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.11.1-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.11.1-2 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.12.0-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:12) | = 4.2.1-3 | No fix listed |
| debian/golang-github-labstack-echo(Debian:13) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:13) | = 4.12.0-1 | No fix listed |
| debian/golang-github-labstack-echo(Debian:14) | All versions | No fix listed |
| debian/golang-github-labstack-echo(Debian:14) | = 4.12.0-1 | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo.v2(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo.v3(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-labstack-echo(Ubuntu:26.10) | All versions | No fix listed |
| azure linux golang-github-labstack-echo-4(Azure Linux:4.0) | All versions | No fix listed |
| azure linux grafana(Azure Linux:4.0) | All versions | No fix listed |
| azure linux osbuild-composer(Azure Linux:4.0) | All versions | No fix listed |
References
- https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq exploit vendor-advisory
- https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2 patch
- github.com product
- https://github.com/labstack/echo/releases/tag/v5.1.0
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2563160 issue-tracking
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-118653 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- ENISA EUVD EUVD-2026-112409 third-party-advisory