PT-2026-23077 · Hono · Hono
Tarpeg007
·
Published
2026-03-04
·
Updated
2026-05-18
·
CVE-2026-29086
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Hono versions prior to 4.12.4
Description
The
setCookie() utility did not properly validate semicolons (;), carriage returns (r), or newline characters (
) in the domain and path options when creating the Set-Cookie header. Because cookie attributes are separated by semicolons, this could allow an attacker to inject additional cookie attributes if untrusted input is used in these fields. The issue stems from the interpolation of the domain and path options without rejecting unsafe characters. Including characters like ;, r, or could lead to unintended cookie attributes being added to the header, potentially affecting cookie scoping or security. Exploitation requires misuse of cookie options at the application level.Recommendations
Update to version 4.12.4 or later.
Exploit
Fix
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Hono