{"answers":{"affected":"2 open source packages ship an affected version, including hono.","exploited":"There is no known exploitation of CVE-2026-56762 in the wild and no public exploit code.","fix":"Upgrade hono to 4.12.12 or later.","what":"CVE-2026-56762 is a medium-severity vulnerability in Hono, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-56762 and fix it if it is affected.\n\nWhat it is: CVE-2026-56762 is a medium-severity vulnerability in Hono, published on 23 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-56762 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hono (npm): affected all versions; fixed in 4.12.12\n- hono (npm): affected all versions; fixed in 4.12.12\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.\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-56762/ (Markdown: https://insights.sbomify.com/CVE-2026-56762/index.md)","id":"CVE-2026-56762","markdown":"https://insights.sbomify.com/CVE-2026-56762/index.md","name":"CVE-2026-56762","record":{"aliases":["CLEANSTART-2026-NV57735","GHSA-26pp-8wgv-hjvm","MINI-87w7-2pjv-9x5p","MINI-cqrj-rf6g-v432","MINI-m6p6-3gwx-vgxf","MINI-p553-f29r-v33g","MINI-p8q8-47jc-f5f2","MINI-pvv9-4r7w-r35f","MINI-r39v-9qxq-4jgm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Hono web framework","requires_auth":"none","summary":"Attackers can cause runtime errors and denial of service by passing invalid characters in user-controlled cookie names to the Hono web framework.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Hono before 4.12.12 does not validate cookie names on the write path in the setCookie(), serialize(), and serializeSigned() functions, allowing invalid characters such as control characters (e.g. \\r or \\n) when an application passes a user-controlled cookie name. This can produce malformed Set-Cookie header values. In modern runtimes such as Node.js and Cloudflare Workers, such invalid header values are rejected and cause a runtime error before the response is sent, so header injection or response splitting could not be reproduced; the issue primarily affects correctness and robustness, resulting in runtime errors (availability) rather than confirmed header injection.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Hono - Missing Cookie Name Validation in setCookie()","id":"CVE-2026-56762","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"other","year":"2026"},"n_packages":2,"n_references":2,"next":{"headline":"Hono - Prototype Pollution via __proto__ Key in parseBody with dot Option","id":"CVE-2026-56763"},"packages":[{"ecosystem":"npm","fixed":["4.12.12"],"introduced":["0"],"last_affected":[],"package":"hono","purl":null,"source":"GHSA-26pp-8wgv-hjvm"},{"ecosystem":"npm","fixed":["4.12.12"],"introduced":["0"],"last_affected":[],"package":"hono","purl":"pkg:npm/hono","source":"GHSA-26pp-8wgv-hjvm"}],"prev":{"headline":"hono - HTML Injection via Improper JSX Attribute Name Handling in SSR","id":"CVE-2026-56761"},"products":["Hono"],"published":"2026-06-23","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-24","vendors":["Hono"]},"summary":"Attackers can cause runtime errors and denial of service by passing invalid characters in user-controlled cookie names to the Hono web framework.","url":"https://insights.sbomify.com/CVE-2026-56762/"}