CVE-2026-126344
Last modified
CVE-2026-126344 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. @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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| honojs | node-server | >= 2.0.0, < 2.1.6 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-126344?
How severe is CVE-2026-126344?
How do I fix CVE-2026-126344?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12633The IPv6 neighbor-discovery code in subsys/net/ip/ipv6_nbr.c…8.1
- CVE-2026-126330Docker Sandboxes can silently republish a sandbox service af…2.4
- CVE-2026-126331Insertion of sensitive information into sent data in the use…
- CVE-2026-126332Improper access control in the autofill vault search in Devo…
- CVE-2026-12634The NVS backend of the Zephyr settings subsystem (subsys/set…5.3
- CVE-2026-126343@hono/node-server allows running the Hono application on Nod…5.3
- CVE-2026-126345basic-ftp is an FTP client for Node.js. Prior to 6.2.4, the …5.3
- CVE-2026-126346basic-ftp is an FTP client for Node.js. Prior to 6.2.3, FTPC…5.9
- CVE-2026-126347Tornado is a Python web framework and asynchronous networkin…3.1
- CVE-2026-126348Addressable is an alternative implementation to the URI impl…4.3
- CVE-2026-126349Addressable is an alternative implementation to the URI impl…3.1
- CVE-2026-12635GitLab has remediated an issue in GitLab CE/EE affecting all…3.1
Are you affected by CVE-2026-126344?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
