CVE-2026-56762
published medium CVSS 4.0 · 6.9Hono - Missing Cookie Name Validation in setCookie()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Hono | — | Hono0 to < 4.12.12 (affected · semver) · 4.12.12 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Hono | Hono | 0 to < 4.12.12 (affected · semver)4.12.12 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-20 Improper Input Validation
References
2- GitHub Security Advisory (GHSA-26pp-8wgv-hjvm) https://github.com/honojs/hono/security/advisories/GHSA-26pp-8wgv-hjvm
- VulnCheck Advisory: Hono - Missing Cookie Name Validation in setCookie() https://www.vulncheck.com/advisories/hono-missing-cookie-name-validation-in-setcookie
Provider assertions
2VulnCheck · cna
Hono - Missing Cookie Name Validation in setCookie()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a626ba36a0267d2c1ab13a43c56e95b8fdac62659b9f4bf47caf2c592861a1cf
- Ingested
- 23 Sep 2026, 09:21:21 UTC
- Source record
- Official CVE record