Description
Hono from 4.12.4 before 4.13.11 contains a middleware bypass vulnerability in serveStatic that allows unauthenticated attackers to skip prefix middleware by exploiting double path decoding. Attackers can send malformed percent-encoded paths that the router matches in encoded form, reaching static files without authentication checks running.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| honojs | hono | 4.12.4 – < 4.13.11 | 4.13.11 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | grafana12.4 | 12.4.12-0.5.hum1 | RHSA-2026:84422 |
| Red Hat Hardened Images 1 | grafana13.1 | 13.1.7-0.2.hum1 | RHSA-2026:84423 |
| Red Hat Hardened Images 1 | grafana13.2 | 13.2.3-0.2.hum1 | RHSA-2026:84431 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | hono | >= 4.12.4, < 4.13.11 | 4.13.11 | GHSA-5r4p-p66f-jhc7 |
Advisories 3
- RHSA-2026:84423 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- RHSA-2026:84422 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 20, 2026
- RHSA-2026:84431 Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update Red Hat Security Advisories (RHSA) · Oct 18, 2026
References
- GitHub Security Advisory (GHSA-5r4p-p66f-jhc7) vendor-advisory
- VulnCheck Advisory: Hono 4.12.4 before 4.13.11 Middleware Bypass via serveStatic Double Decoding third-party-advisory