@hono/node-server
2.1.9 · 17 Nov 2026MIT105.3M / weekRepositorynpmAtom feed
Upgrading @hono/node-server From 1.5.0 to 2.1.6
77 releases in betweennotes for 75
Counted from 75 of 77 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.0.0
- Breaking2.0.0
- Breaking2.0.0
Security
Fixes 5 advisories affecting 1.5.0
- @hono/node-server: Middleware bypass via repeated slashes in serveStaticmoderate · GHSA-92pp-h63x-v22m
- Node.js Adapter for Hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)moderate · GHSA-frvp-7c67-39w9
- @hono/node-server has Denial of Service risk when receiving Host header that cannot be parsedhigh · GHSA-hgxw-5xg3-69jx
- @hono/node-server: Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxymoderate · GHSA-jpvv-r467-5p4w
- @hono/node-server has authorization bypass for protected static paths via encoded slashes in Serve Static Middlewarehigh · GHSA-wc8c-qw6v-h7f6
- 2.1.6
A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w
- 2.1.6
An application that compared
Originwith the origin ofc.req.urlcould be bypassed by a page on another site. GHSA-7v5p-43qr-wch5 - 2.1.6
A client that reset the connection during asynchronous middleware caused an unhandled
'error'event and terminated the process. GHSA-qv5m-9pm6-hqp3 - 2.1.3
GHSA-rmxm-3fg6-px4f
- 2.0.10
Since the route is reachable pre-handshake without authentication, an attacker could flood it to gradually exhaust memory. GHSA-9mqv-5hh9-4cgg
- 2.0.5
Fixed a security issue in Serve Static Middleware where prefix-mounted middleware could be bypassed on Windows.
- 2.0.5
See GHSA-frvp-7c67-39w9 for details.
- 1.19.19
Fixed in 2.1.3 for the 2.x line; this release brings the fix to 1.x. GHSA-rmxm-3fg6-px4f
- 1.19.19
The backport includes the hardened check from 2.1.7 so that the option arrives in 1.x in its fixed form. GHSA-fj57-4f93-cfw6
- 1.19.19
The 1.x line receives security fixes only.
Release by release
- Security
A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w
- Security
An application that compared
Originwith the origin ofc.req.urlcould be bypassed by a page on another site. GHSA-7v5p-43qr-wch5 - Security
A client that reset the connection during asynchronous middleware caused an unhandled
'error'event and terminated the process. GHSA-qv5m-9pm6-hqp3
- Security
- Fixed
listener: Abort the request signal when an HTTP/2 client resets the stream
- Fixed
serve-static: Only serve GET and HEAD requests
- Fixed
2.1.4nothing new or fixed in the note
- Security
GHSA-rmxm-3fg6-px4f
- Security
- Fixed
Type error in early hints and add typecheck to CI
- Fixed
listener: Avoid mutating response headers when setting Content-Length
- Fixed
- New
Lazily materialize request headers
- New
- New
Add Early Hints (HTTP 103) middleware
- Fixed
listener: Avoid uncaught error when force-closing a non-standard socket
- New
- Fixed
response: Copy headers when init is a foreign Response
- Fixed
3 other lines we could not sort, mostly version bumps
- 1.11.3
Update readme with an example of proper "root" when using serveStatic
- 1.11.1
Update Request to work with ReadableStream polyfills
- 1.8.0
Catch when nodejs request is aborted
33 internal lines (docs, tests, tooling) left out.
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.