# CVE-2026-39407: Hono has a middleware bypass via repeated slashes in serveStatic

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/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.48%, higher than 42% of CVEs (2026-12-01)
- Published: 2026-04-08T00:16:45.000Z
- Modified: 2026-09-10T03:50:44.790Z
- Also known as: GHSA-wmmm-f939-6g9c
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, 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.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.

(As written by CVE List.)

## Affected

- honojs hono: < 4.12.12
- hono (npm): before 4.12.12
- hono hono: up to 4.12.11

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9c> (vendor-advisory, web)
- <https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3c> (patch, web)
- <https://github.com/honojs/hono/releases/tag/v4.12.12> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39407> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-39407](https://www.cve.org/CVERecord?id=CVE-2026-39407), CVE Terms of Use, modified 2026-04-08
- GitHub Advisory Database: [GHSA-wmmm-f939-6g9c](https://github.com/advisories/GHSA-wmmm-f939-6g9c), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-39407](https://nvd.nist.gov/vuln/detail/CVE-2026-39407), Public domain, modified 2026-07-24

---

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