CVE-2026-56762

published 23 Jun 2026 · updated 24 Jun 2026

Hono - Missing Cookie Name Validation in setCookie()

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 4.12.12.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Hono<4.12.124.12.12

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-56762 severity on Zeptric[![CVE-2026-56762](https://zeptric.io/badge/cve/CVE-2026-56762.svg)](https://zeptric.io/cve/CVE-2026-56762)