Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. hono
  4. ›
  5. GHSA-26pp-8wgv-hjvm

GHSA-26pp-8wgv-hjvm: Hono missing validation of cookie name on write path in setCookie()

April 8, 2026 (updated September 24, 2026)

Cookie names are not validated on the write path when using setCookie(), serialize(), or serializeSigned() to generate Set-Cookie headers.

While certain cookie attributes such as domain and path are validated, the cookie name itself may contain invalid characters.

This results in inconsistent handling of cookie names between parsing (read path) and serialization (write path).

References

  • github.com/advisories/GHSA-26pp-8wgv-hjvm
  • github.com/honojs/hono/commit/a586cd72e3f6122792e631ecf1817e5cabb803ec
  • github.com/honojs/hono/releases/tag/v4.12.12
  • github.com/honojs/hono/security/advisories/GHSA-26pp-8wgv-hjvm
  • nvd.nist.gov/vuln/detail/CVE-2026-56762
  • www.vulncheck.com/advisories/hono-missing-cookie-name-validation-in-setcookie

Code Behaviors & Features

Detect and mitigate GHSA-26pp-8wgv-hjvm with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 4.12.12

Fixed versions

  • 4.12.12

Solution

Upgrade to version 4.12.12 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
  • CWE-20: Improper Input Validation

Source file

npm/hono/GHSA-26pp-8wgv-hjvm.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:21 +0000.