# CVE-2026-118655: Echo: Static Middleware Double-Unescape Path Traversal

- Severity: Medium 5.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2026-10-28T20:03:56.897Z
- Modified: 2026-11-05T23:26:17.528Z
- Also known as: GHSA-xwq5-6cqp-vx96, GO-2026-6885
- Weaknesses: CWE-174
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- labstack echo: >= 5.0.0, < 5.2.0; < 4.15.3
- github.com/labstack/echo/v5 (Go): before 5.2.0
- github.com/labstack/echo/v4 (Go): before 4.15.3

## Every score

- GitHub_M: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/labstack/echo/security/advisories/GHSA-xwq5-6cqp-vx96> (advisory, web)
- <https://github.com/labstack/echo/issues/2599> (report, web)
- <https://github.com/labstack/echo/pull/3006> (fix, web)
- <https://github.com/labstack/echo/commit/a9ede66a5a7196411131beb1ee801e75bbaf7ac6> (fix, web)
- <https://github.com/labstack/echo/commit/c3fa2a27ff92b2b8db360de614f999ef1da24725> (fix, web)
- <https://github.com/labstack/echo/releases/tag/v4.15.3> (web)
- <https://github.com/labstack/echo/releases/tag/v5.2.0> (web)
- <https://github.com/labstack/echo> (package)

## Sources

- CVE List: [CVE-2026-118655](https://www.cve.org/CVERecord?id=CVE-2026-118655), CVE Terms of Use, modified 2026-10-29
- GitHub Advisory Database: [GHSA-xwq5-6cqp-vx96](https://github.com/advisories/GHSA-xwq5-6cqp-vx96), CC-BY-4.0, modified 2026-11-05
- Go Vulnerability Database: [GO-2026-6885](https://pkg.go.dev/vuln/GO-2026-6885), CC-BY-4.0, modified 2026-11-05
- NVD: [CVE-2026-118655](https://nvd.nist.gov/vuln/detail/CVE-2026-118655), Public domain, modified 2026-10-29

---

Page: https://cve.day/CVE-2026-118655 · Whole record: https://cve.day/CVE-2026-118655.json · Rebuilt by cve.day 2026-11-25T22:59:47.682Z
