Intel

AIKIDO-2026-461125

@hono/node-server is vulnerable to Missing Origin Validation in WebSockets

CVE-2026-126344Published 3 days ago
November 17, 2026

54

CVE Score

Medium

Missing Origin Validation in WebSockets

Are you affected? Scan for Free

TL;DR

For WebSocket upgrades, @hono/node-server treated a request-target starting with // as a host, so applications checking Origin against c.req.url could accept a cross-site connection. This mattered when an application used upgradeWebSocket and validated the origin against c.req.url or otherwise trusted its host; ordinary HTTP requests were unaffected. A page on another site could then use a victim’s cookies to read and send WebSocket messages. The fix used the Host header for upgrades and treated the request-target only as the path.

How do I fix this?

Upgrade the @hono/node-server package to 2.1.6 or later.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range of @hono/node-server.

Versions

2.0.0 - 2.1.5

Fixed in 2.1.6

Background info

@hono/node-server is vulnerable to Missing Origin Validation in WebSockets in versions 2.0.0 - 2.1.5.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea