CVE-2026-126344: @hono/node-server: WebSocket upgrade request-target starting with `//` replaces the host in `c.req.url`, bypassing `Origin` checks
Vulnerability summary
CVE-2026-126344 is a medium (CVSS 5.4) Missing Origin Validation in WebSockets vulnerability in honojs node-server. EPSS estimates a 0.15% chance of exploitation in the next 30 days, higher than 4.8% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 12-11-2026PublishedVulnerability first disclosed.
- 13-11-2026Last modifiedVulnerability information updated.
Description
@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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.15%
Chance of exploitation in the next 30 days
Percentile
5%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Honojs1 product
- node-server≥ 2.0.0, < 2.1.6
1 vendor · 1 product
References
3 links- github.com/honojs/node-server/security/advisories/GHSA-7v5p-43qr-wch5X Refsource CONFIRM
- github.com/honojs/node-server/releases/tag/v2.1.6X Refsource MISC