CVE-2026-111757
MEDIUM 5.3CVSS 3.1Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.4 until 4.13.11, serveStatic can interpret a malformed percent-encoded path differently from upstream routing middleware and bypass protection for a static prefix. The root cause is serveStatic decodes a routed request path a second time before filesystem lookup. The attack mechanism is malformed percent encoding survives the first routing interpretation and becomes a protected path only during the later static-file decode. The affected component is serveStatic. The trigger conditions are an application protects a static prefix with upstream middleware and serveStatic receives an attacker-controlled malformed percent-encoded path. The impact is unauthorized disclosure of a static file that upstream middleware was intended to protect. The issue does not permit traversal outside the configured static root. This issue is fixed in version 4.13.11.
- Published
- 19 Oct 2026
- Last modified
- 20 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-174
- Also known as
- CVE-2026-109955GHSA-5r4p-p66f-jhc7
- Sources
- NVDJSONOSV GHSA-5r4p-p66f-jhc7JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | hono | >= 4.12.4, < 4.13.11 | 4.13.11 |
References
- https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc · WEB
- https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-111757 · ADVISORY
- https://github.com/honojs/hono · PACKAGE
- https://github.com/honojs/hono/releases/tag/v4.13.11 · WEB
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 19 Oct 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Oct 2026)