MEDIUMCVSS v3.1 5.3Vulnerability

CVE-2026-118663

### 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/node-server: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths
Severity
medium
Nvd fetched at
2026-10-28T23:43:43.157973+00:00
Cvss score
5.3
Cvss severity
MEDIUM
Retrieved at
2026-10-28T23:45:49+00:00
Ghsa published
2026-10-28T21:05:00Z
Source url
https://github.com/advisories/GHSA-rmxm-3fg6-px4f
Ghsa updated
2026-10-28T21:05:02Z
Ghsa id
GHSA-rmxm-3fg6-px4f
Last source
GitHub Advisory Database
Score
5.3
Cvss version
3.1
Cve id
CVE-2026-118663
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-28T23:44:40+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-28T21:16:56.543
Last modified
2026-10-28T21:16:56.543

Related Entities (3)

AFFECTS (1)

HAS_WEAKNESS (1)

VULNERABLE_TO (1)

Explore deeper with Ninja Signal's threat intelligence graph

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