Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-39406 EUVD-2026-20491GHSA-92pp-h63x-v22m

@hono/node-server has a middleware bypass via repeated slashes in serveStatic

Published Apr 8, 2026 · Updated Apr 8, 2026 · Assigned by GitHub_M

Description

@hono/node-server allows running the Hono application on Node.js. Prior to 1.19.13, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 1.19.13.

Affected products

VendorProductAffectedFixed
honojs node-server < 1.19.13 —

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.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling langfuse-3 +1 3.164.0-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @hono/node-server < 1.19.13 1.19.13 GHSA-92pp-h63x-v22m

Advisories 1

References