Skip to content

Bump @hono/node-server from 2.1.3 to 2.1.6 - #660

Merged
Brandon Waterloo (bwateratmsft) merged 2 commits into
mainfrom
dependabot/npm_and_yarn/hono/node-server-2.1.6
Nov 30, 2026
Merged

Brandon Waterloo (bwateratmsft) merged 2 commits into
mainfrom
dependabot/npm_and_yarn/hono/node-server-2.1.6

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

Bumps @hono/node-server from 2.1.3 to 2.1.6.

Release notes

Sourced from @​hono/node-server's releases.

v2.1.6

Security fixes

This release includes fixes for the following security issues:

Backslash in the request path is parsed as a path separator, bypassing path-based access control at a reverse proxy

Affects: all requests. The raw request-target was passed to the WHATWG URL parser, which treats a backslash in the path as / and resolves .. segments, so /admin\secret reached the application as /admin/secret. A reverse proxy that forwards the backslash unchanged applied its path-based rules to the original path. GHSA-jpvv-r467-5p4w

A request whose path contains a raw backslash is now rejected with 400 Bad Request, for HTTP/1.1, HTTP/2 and WebSocket upgrades. A percent-encoded backslash (%5C) and a backslash in the query string are still accepted.

WebSocket upgrade request-target starting with // replaces the host in c.req.url, bypassing Origin checks

Affects: upgradeWebSocket. The URL of an upgrade request was built by resolving the request-target against the Host header, so a request-target such as //attacker.example/ws set the host of c.req.url to a client-chosen value while routing still saw /ws. An application that compared Origin with the origin of c.req.url could be bypassed by a page on another site. GHSA-7v5p-43qr-wch5

The host of upgrade requests now comes from the Host header, as for ordinary requests.

Unhandled ECONNRESET on the socket during an asynchronous WebSocket upgrade crashes the process

Affects: upgradeWebSocket. While the application handled an upgrade request, the socket had no error listener. A client that reset the connection during asynchronous middleware caused an unhandled 'error' event and terminated the process. GHSA-qv5m-9pm6-hqp3

Error and close events on the socket are now handled while the application runs, and a pending upgrade is released when the socket closes.


The backslash fix also ships in @hono/node-server v1.19.18. Users of upgradeWebSocket are encouraged to upgrade to this version.

v2.1.5

What's Changed

New Contributors

Full Changelog: honojs/node-server@v2.1.4...v2.1.5

v2.1.4

What's Changed

Full Changelog: honojs/node-server@v2.1.3...v2.1.4

Commits
  • 123f782 2.1.6
  • cfaa79f Merge commit from fork
  • 61cc026 Merge commit from fork
  • a152a45 test: wait for the first chunk before sending the second in the readable-stre...
  • fb97395 Merge commit from fork
  • 4b47a0d 2.1.5
  • e77824a fix(serve-static): only serve GET and HEAD requests (#405)
  • 1b6e6bf fix(listener): abort the request signal when an HTTP/2 client resets the stre...
  • d57ed9b 2.1.4
  • 92b014c chore: allow hono v5 as a peer dependency (#406)
  • See full diff in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 12, 2026 23:37
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 12, 2026
Copilot AI balanced review requested due to automatic review settings November 12, 2026 23:37

This comment was marked as resolved.

bwateratmsft

This comment was marked as duplicate.

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/hono/node-server-2.1.6 branch from da12506 to 16160be Compare November 18, 2026 15:06
bwateratmsft

This comment was marked as outdated.

Bumps [@hono/node-server](https://github.com/honojs/node-server) from 2.1.3 to 2.1.6.
- [Release notes](https://github.com/honojs/node-server/releases)
- [Commits](honojs/node-server@v2.1.3...v2.1.6)

---
updated-dependencies:
- dependency-name: "@hono/node-server"
  dependency-version: 2.1.6
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/hono/node-server-2.1.6 branch from 16160be to 238d1f4 Compare November 30, 2026 14:42

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 This update has not reached the required package age of 168 hours (7 full days).

Package Version Published (UTC) Eligible (UTC) Notes
brace-expansion 5.1.2 2026-11-30T06:14:09Z 2026-12-07T06:14:09Z transitive (lockfile)
cross-spawn 7.1.2 2026-11-29T03:57:00Z 2026-12-06T03:57:00Z transitive (lockfile)
lru-cache 11.5.4 2026-11-29T03:28:34Z 2026-12-06T03:28:34Z transitive (lockfile)

The whole update becomes eligible at 2026-12-07T06:14:09Z.

Please wait until the eligibility time before approval.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@bwateratmsft
Brandon Waterloo (bwateratmsft) merged commit 3a77229 into main Nov 30, 2026
5 checks passed
@bwateratmsft
Brandon Waterloo (bwateratmsft) deleted the dependabot/npm_and_yarn/hono/node-server-2.1.6 branch November 30, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants