← Back to CVE Explorer

CVE-2026-118653

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
5.3 (v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
Published
2026-10-28 20:17:22.400000
Last modified
2026-10-29 15:15:16.507000
View original CVE JSON
{
  "id": "CVE-2026-118653",
  "sourceIdentifier": "[email protected]",
  "published": "2026-10-28T20:17:22.400",
  "lastModified": "2026-10-29T15:15:16.507",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "labstack",
          "product": "echo",
          "versions": [
            {
              "version": ">= 4.0.0, < 5.1.0",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
          "baseScore": 5.3,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "NONE",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 3.9,
        "impactScore": 1.4
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Primary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-290"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/labstack/echo/commit/22e4b71109ef072ef011a489066ec662ca9565b2",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/labstack/echo/releases/tag/v5.1.0",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-246p-cpwv-v3jq",
      "source": "[email protected]"
    }
  ]
}