{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-118654","id":"CVE-2026-118654","title":"Echo protected file exposure in static file routing","description":"Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also re","descriptionLong":"Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, Echo's static file handlers can normalize dot segments after route matching and serve a file through a public static route even though the corresponding direct path is protected by route-level middleware. An unauthenticated attacker can read files that an application intended to protect with route-level middleware, when those files are also reachable through a static filesystem mount after path normalization. This vulnerability is the result of an incomplete fix for CVE-2026-55677. This issue is fixed in 4.16.0 and 5.4.0.","published":"2026-10-28T19:59:27.911Z","updated":"2026-11-18T17:27:27.158287215Z","reserved":"2026-10-28T17:25:37.561Z","status":"Undergoing Analysis","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["labstack echo"],"affectedProducts":[{"vendor":"labstack","product":"echo","defaultStatus":null,"versions":[{"version":"< 4.16.0","status":"affected"},{"version":">= 5.0.0, < 5.4.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/labstack/echo/v5","purl":"pkg:golang/github.com/labstack/echo/v5","ranges":["<5.4.0"],"fixed":["5.4.0"],"advisory":"GHSA-3pmx-cf9f-34xr"},{"ecosystem":"Go","name":"github.com/labstack/echo/v4","purl":"pkg:golang/github.com/labstack/echo/v4","ranges":["<4.16.0"],"fixed":["4.16.0"],"advisory":"GHSA-3pmx-cf9f-34xr"}],"cwes":["CWE-22"],"aliases":["GHSA-3pmx-cf9f-34xr","GO-2026-6881"],"references":[{"url":"https://github.com/labstack/echo/security/advisories/GHSA-3pmx-cf9f-34xr","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/labstack/echo/commit/b838391e2eade87ae7e5a09d7bb5087bec271ec1","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/labstack/echo/commit/fc410094b2f3415cf2bf5204082137b205bfd5af","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/labstack/echo/releases/tag/v4.16.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/labstack/echo/releases/tag/v5.4.0","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/118xxx/CVE-2026-118654.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118654","tags":["advisory"]},{"url":"https://github.com/labstack/echo","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00347,"epssPercentile":0.28985,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-118654","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118654","ok":true,"note":"Undergoing Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-118654","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-3pmx-cf9f-34xr","ok":true,"note":"GHSA-3pmx-cf9f-34xr"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-118654","ok":true,"note":"scored 2026-11-20"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}