CVE-2026-29086 MEDIUM

CVE-2026-29086: Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()

Vendor Honojs
Product hono
Weakness CWE-1113
Published March 4, 2026
Last update March 5, 2026

CVSS base score

5.4/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, the setCookie() utility did not validate semicolons (;), carriage returns (\r), or newline characters (\n) in the domain and path options when constructing the Set-Cookie header. Because cookie attributes are delimited by semicolons, this could allow injection of additional cookie attributes if untrusted input was passed into these fields. This issue has been patched in version 4.12.4.

Key dates

02Disclosure timeline

March 4, 2026 CVE published
March 5, 2026 Record updated