Vulnerability

CVE-2026-56762

mediumCVSS 4.0 6.9Published 23 Jun 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /honojs/hono/security/advisories/GHSA-26pp-8wgv-hjvm
  • www.vulncheck.com /advisories/hono-missing-cookie-name-validation-in-setcookie

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning