MEDIUMCVSS v3.1 5.3Vulnerability

CVE-2026-111757

### Summary `serveStatic` decodes the request path a second time after Hono has already decoded it for routing. A crafted request can be routed as one path and served as another, so middleware mounted on a static prefix does not run for a file under that prefix. ### Details Hono decodes the request path once before routing. `serveStatic` decoded it again before resolving the file. With a malformed percent-encoded sequence, the first decode leaves part of the path encoded, the router matches the encoded form, and the second decode resolves the real directory. The file is still resolved inside the configured root; this is not a traversal outside it. ### Impact An unauthenticated attacker may reach static files without the middleware on their prefix running, for example an authentication check. This affects applications that mount middleware on part of the directory served by `serveStatic`. Applications that serve only public files are not affected.

Properties

Summary
Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
Severity
medium
Nvd fetched at
2026-10-20T21:14:08.448323+00:00
Epss score
0.00223
Cvss score
5.3
Cvss severity
MEDIUM
Retrieved at
2026-10-21T01:24:48+00:00
Ghsa published
2026-10-20T14:36:11Z
Source url
https://github.com/advisories/GHSA-5r4p-p66f-jhc7
Ghsa updated
2026-10-20T14:36:13Z
Ghsa id
GHSA-5r4p-p66f-jhc7
Last source
FIRST EPSS
Score
5.3
Cvss version
3.1
Cve id
CVE-2026-111757
Cvss vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
First seen by Signal
2026-10-19T19:31:52+00:00
Is ghsa only
false
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Published at
2026-10-19T18:17:00.407

Related Entities (3)

AFFECTS (1)

→[Software]npm/hono

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

←[Software]npm/hono

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-111757 (CVSS v3.1 5.3) — Ninja Signal Threat Intelligence | Ninja Signal