# CVE-2026-29045: Hono: Arbitrary file access via serveStatic vulnerability

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/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.63%, higher than 51% of CVEs (2026-12-01)
- Published: 2026-03-04T19:48:00.000Z
- Modified: 2026-09-10T03:50:40.471Z
- Also known as: GHSA-q5qw-h33p-qvwr
- Related: CVE-2026-6414
- Weaknesses: CWE-177
- 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 version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4.

(As written by CVE List.)

## Affected

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

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr> (vendor-advisory, web)
- <https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29045> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-29045](https://www.cve.org/CVERecord?id=CVE-2026-29045), CVE Terms of Use, modified 2026-03-05
- GitHub Advisory Database: [GHSA-q5qw-h33p-qvwr](https://github.com/advisories/GHSA-q5qw-h33p-qvwr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-29045](https://nvd.nist.gov/vuln/detail/CVE-2026-29045), Public domain, modified 2026-06-17

---

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