{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-126344 in the wild and no public exploit code.","exposure":"An affected version is only exploitable if your software calls upgradeWebSocket or csrf(). Many projects that include it are not exposed.","fix":"No fix has been published for CVE-2026-126344 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-126344 is a medium-severity cross-site request forgery vulnerability in honojs node-server, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-126344 and fix it if it is affected.\n\nWhat it is: CVE-2026-126344 is a medium-severity cross-site request forgery vulnerability in honojs node-server, published on 12 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-126344 in the wild and no public exploit code.\nExposure: An affected version is only exploitable if your software calls upgradeWebSocket or csrf(). Many projects that include it are not exposed.\n\nAffected product: honojs node-server. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to upgradeWebSocket or csrf() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-126344/ (Markdown: https://insights.sbomify.com/CVE-2026-126344/index.md)","id":"CVE-2026-126344","markdown":"https://insights.sbomify.com/CVE-2026-126344/index.md","name":"CVE-2026-126344","record":{"aliases":["GHSA-7v5p-43qr-wch5"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"yes","non_default_config":true,"product_category":"Node.js web framework","requires_auth":"none","requires_specific_call":true,"summary":"A malicious page can open a WebSocket with a victim's cookies and read or send messages in Hono apps that trust the WebSocket host.","user_interaction":"required","vuln_class":"csrf","vulnerable_functions":["upgradeWebSocket","csrf()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"GitHub_M","cpe":[],"cvss":{"score":5.4,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-1385","name":"Missing Origin Validation in WebSockets"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Cross-site request forgery in node-server","id":"CVE-2026-126344","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"csrf","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"basic-ftp: Uncaught TypeError in MLSD directory-listing parser via __proto__ fact name causes DoS in Client.list()","id":"CVE-2026-126345"},"nickname":null,"packages":[],"prev":{"headline":"@hono/node-server: Unhandled `ECONNRESET` on the socket during an asynchronous WebSocket upgrade crashes the process","id":"CVE-2026-126343"},"products":["node-server"],"published":"2026-11-12","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-11-12","vendors":["honojs"]},"summary":"A malicious page can open a WebSocket with a victim's cookies and read or send messages in Hono apps that trust the WebSocket host.","url":"https://insights.sbomify.com/CVE-2026-126344/"}