# CVE-2026-54286: Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)

- 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.43%, higher than 29% of CVEs (2026-11-30)
- Published: 2026-06-16T14:09:03.000Z
- Modified: 2026-10-25T23:10:00.167Z
- Also known as: GHSA-wwfh-h76j-fc44
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.25, on Windows hosts, an encoded backslash (%5C) in the request path decodes to \, which the Windows path resolver treats as a separator. serve-static then resolves a single URL segment such as admin\secret.txt into a nested file under the root and serves it, letting an attacker read static files meant to be protected behind prefix-mounted middleware. This vulnerability is fixed in 4.12.25.

(As written by CVE List.)

## Affected

- honojs hono: < 4.12.25
- hono (npm): before 4.12.25

## 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/honojs/hono/security/advisories/GHSA-wwfh-h76j-fc44> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-54286> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-54286](https://www.cve.org/CVERecord?id=CVE-2026-54286), CVE Terms of Use, modified 2026-06-23
- GitHub Advisory Database: [GHSA-wwfh-h76j-fc44](https://github.com/advisories/GHSA-wwfh-h76j-fc44), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-54286](https://nvd.nist.gov/vuln/detail/CVE-2026-54286), Public domain, modified 2026-10-25

---

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