Packages

@hono/node-server

2.1.9 · 17 Nov 2026MIT105.3M / weekRepositorynpmAtom feed

Your version

2.1.3

29 Sep 2026Where it was published

2.1.11 is the newest release of 2.x.

In short

1 security

Security

Fixes 1 advisory that affected 2.1.2

Release note

Security fixes

serveStatic decodes the request path a second time, leading to bypass of middleware on static paths

Affects: @hono/node-server/serve-static. Fixes serveStatic decoding an already-decoded path, where a crafted request could be routed as one path and served as another, skipping middleware mounted on a static prefix. GHSA-rmxm-3fg6-px4f

serveStatic now rejects request paths that still contain % after decoding. To serve files whose names contain a literal %, set allowPercentInPath: true.

The same fix ships in hono v4.13.11.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.