{"id":"CVE-2026-56762","published":"2026-06-23T12:13:06Z","modified":"2026-06-24T11:17:03Z","title":"Hono - Missing Cookie Name Validation in setCookie()","vendor":"Hono","product":"Hono","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00418,"percentile":0.27781,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-26pp-8wgv-hjvm","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/hono-missing-cookie-name-validation-in-setcookie","tags":["third-party-advisory"]}],"priority":{"score":9.3,"factors":[{"name":"EPSS percentile","points":5.56},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"hono","affectedVersions":[{"vendor":"Hono","product":"Hono","versions":["< 4.12.12"]}],"fixedVersions":[{"vendor":"Hono","product":"Hono","versions":["4.12.12"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T13:07:54.410163Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"hono","vulnerableRanges":["<4.12.12"],"patched":["4.12.12"],"from":["GHSA-26pp-8wgv-hjvm"],"provenance":"source"}],"summary":{"text":"Hono versions before 4.12.12 fail to validate cookie names in the setCookie(), serialize(), and serializeSigned() functions, so control characters such as \\r or \\n can be included in a Set-Cookie header when an application passes a user-controlled cookie name. An unauthenticated remote attacker can trigger this over the network with no user interaction, but in modern runtimes like Node.js and Cloudflare Workers the invalid header is rejected with a runtime error before the response is sent, so the practical impact is availability (errors) rather than confirmed header injection.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:00Z"},"euvd":{"id":"EUVD-2026-38443","exploited":false,"provenance":"source"}}