CVE-2026-56762
MEDIUM 6.9CVSS 4.0Hono missing validation of cookie name on write path in setCookie()
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.
- Published
- 23 Jun 2026
- Last modified
- 24 Sep 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-113CWE-20
- Also known as
- GHSA-26pp-8wgv-hjvm
- Sources
- NVDJSONOSV GHSA-26pp-8wgv-hjvmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | hono | < 4.12.12 | 4.12.12 |
References
- https://github.com/honojs/hono/security/advisories/GHSA-26pp-8wgv-hjvm · WEB
- https://www.vulncheck.com/advisories/hono-missing-cookie-name-validation-in-setcookie · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-56762 · ADVISORY
- https://github.com/honojs/hono/commit/a586cd72e3f6122792e631ecf1817e5cabb803ec · WEB
- https://github.com/honojs/hono · PACKAGE
- https://github.com/honojs/hono/releases/tag/v4.12.12 · WEB
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Apr 2026)