Skip to content
Heist/ feed
Back to feed
Medium

Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration

Type: advisorySources: Official CVE List

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.

Products
echo
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-118653
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 06:57 UTC · Revision 1

Source evidence

Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration

core-cve · Original source

Published 28 Oct 2026, 19:42 UTC

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.

cve:CVE-2026-118653

echo

Fixed versions: Not specified

Complete source record
{
  "id": "ef07d6e098a301758d16725bf62f68a9971f7e7f1792eb85e78860d04d50f7f0",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-118653",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Echo: Rate Limiter Bypass via Spoofed X-Forwarded-For Header in Default Configuration",
    "summary": "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.",
    "evidence": "cve:CVE-2026-118653",
    "products": [
      {
        "name": {
          "value": "echo",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-118653",
      "aliases": [
        "CVE-2026-118653"
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "scope": "UNCHANGED",
            "version": "3.1",
            "baseScore": 5.3,
            "attackVector": "NETWORK",
            "baseSeverity": "MEDIUM",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
            "integrityImpact": "LOW",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "availabilityImpact": "NONE",
            "privilegesRequired": "NONE",
            "confidentialityImpact": "NONE"
          }
        }
      ],
      "affected": [
        {
          "vendor": "labstack",
          "product": "echo",
          "versions": [
            {
              "status": "affected",
              "version": ">= 4.0.0, < 5.1.0"
            }
          ]
        }
      ],
      "modified": "2026-10-28T19:42:05.556Z",
      "provider": "cve",
      "references": [
        "https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq",
        "https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2",
        "https://github.com/labstack/echo/releases/tag/v5.1.0"
      ],
      "provider_metadata": {
        "cna": {
          "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
          "shortName": "GitHub_M",
          "dateUpdated": "2026-10-28T19:42:05.556Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-118653",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 480651,
  "published_at": "2026-10-28T19:42:05.556+00:00"
}