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.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.4%top 64.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118653
Debian:13golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118653
Debian:14golang-github-labstack-echono fix listedDEBIAN-CVE-2026-118653
Gogithub.com/labstack/echo/v4no fix listedGO-2026-6872
Gogithub.com/labstack/echo/v4no fix listedGHSA-246p-cpwv-v3jq
Gogithub.com/labstack/echo/v55.1.0GHSA-246p-cpwv-v3jq
Gogithub.com/labstack/echo/v55.1.0GO-2026-6872
Ubuntu:22.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118653
Ubuntu:24.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118653
Ubuntu:26.04:LTSgolang-github-labstack-echono fix listedUBUNTU-CVE-2026-118653
Ubuntu:26.10golang-github-labstack-echono fix listedUBUNTU-CVE-2026-118653
Ubuntu:22.04:LTSgolang-github-labstack-echo.v2no fix listedUBUNTU-CVE-2026-118653
Ubuntu:22.04:LTSgolang-github-labstack-echo.v3no fix listedUBUNTU-CVE-2026-118653

Affected products (as reported)

VendorProductVersions
labstack echo >= 4.0.0, < 5.1.0

Weakness: CWE-290 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

References