{
  "id": "CVE-2026-118650",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-118650",
  "published_at": "2026-10-28T19:25:02.952Z",
  "title": "Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path",
  "vendor": "labstack",
  "product": "echo",
  "cvss": {
    "score": 7.5,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0.",
  "cwe": "CWE-177",
  "cvss_by_source": {
    "cna": 7.5
  },
  "repos": [
    {
      "repo": "federiconbaez/cortex9-echo-static-encoded-segment-bypass-model",
      "url": "https://github.com/federiconbaez/cortex9-echo-static-encoded-segment-bypass-model",
      "created_at": "2026-11-09T10:55:24Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 0,
      "is_poc": "unknown",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2018-10-08T14:18:51Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "labstack",
        "product": "echo",
        "ranges": [
          "\u003e= 5.0.0, \u003c 5.4.0",
          "\u003c 4.16.0"
        ],
        "fixed_in": [
          "5.4.0",
          "4.16.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade echo to 5.4.0 or 4.16.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/labstack/echo/security/advisories/GHSA-375p-5qhx-8wq4"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/labstack/echo/releases/tag/v4.16.0"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/labstack/echo/releases/tag/v5.4.0"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
