{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "5.0.0"
                  },
                  {
                    "fixed": "5.2.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "4.15.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "a9ede66a5a7196411131beb1ee801e75bbaf7ac6"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "c3fa2a27ff92b2b8db360de614f999ef1da24725"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v4.15.3",
                "range": [
                  {
                    "fixed": "8800212ad4392d3f5af052f3042aca62cc5911a7"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v5.2.0",
                "range": [
                  {
                    "fixed": "5786024ea4d85c01784796e8aa7aac53e007b39b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "9500f2745481e2dff1313e2e6734c488e80c13fb"
            },
            {
              "fixed": "5786024ea4d85c01784796e8aa7aac53e007b39b"
            },
            {
              "introduced": "0"
            },
            {
              "fixed": "8800212ad4392d3f5af052f3042aca62cc5911a7"
            },
            {
              "fixed": "a9ede66a5a7196411131beb1ee801e75bbaf7ac6"
            },
            {
              "fixed": "c3fa2a27ff92b2b8db360de614f999ef1da24725"
            }
          ],
          "repo": "https://github.com/labstack/echo",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-xwq5-6cqp-vx96"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-174"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118655.json"
  },
  "details": "Echo is a Go web framework. Prior to 4.15.3 and 5.2.0, middleware.Static can decode an already decoded Request.URL.Path a second time. Double-encoded separators can consequently be reconstructed before filesystem resolution. This can reach a file under a guarded route when the static middleware is registered globally. This issue is fixed in 4.15.3 and 5.2.0.",
  "id": "CVE-2026-118655",
  "modified": "2026-10-29T10:30:38.164740187Z",
  "published": "2026-10-28T20:03:56.897Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118655.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6"
    },
    {
      "type": "FIX",
      "url": "https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/labstack/echo/issues/2599"
    },
    {
      "type": "FIX",
      "url": "https://github.com/labstack/echo/pull/3006"
    },
    {
      "type": "WEB",
      "url": "https://github.com/labstack/echo/releases/tag/v4.15.3"
    },
    {
      "type": "WEB",
      "url": "https://github.com/labstack/echo/releases/tag/v5.2.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-118655"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Echo: Static Middleware Double-Unescape Path Traversal"
}