CVE-2026-126344honojs node-server
Medium 5.4 No auth needed
- Priority
- 50
- CVSS 3.1
- 5.4
- EPSS
- —
- Auth required
- No
- Published
- Nov 12, 2026
- Updated
- Nov 13, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1385
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
What happens
@hono/node-server allows running the Hono application on Node.js. From 2.0.0 until 2.1.6, the WebSocket upgrade path resolves a raw request-target beginning with // against a base URL built from the Host header, causing the WHATWG URL parser to treat the request-target as a network-path reference and replace the host in c.req.url. Routing still uses the local WebSocket path, so an application that compares the Origin header with the origin of c.req.url, including checks implemented with csrf(), compares an attacker's origin with itself and accepts the connection. A page on another site can consequently open a WebSocket with the victim's cookies and read and send messages when the application uses upgradeWebSocket and trusts the host in c.req.url. Ordinary HTTP requests are not affected. This issue is fixed in version 2.1.6.
What to do
- Apply the vendor's security update for node-server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- honojs · node-server
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.