CVE-2026-29086
MEDIUM 5.4CVSS 3.1Hono Vulnerable to Cookie Attribute Injection via Unsanitized domain and path in setCookie()
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.
- Published
- 4 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-1113CWE-113
- Also known as
- GHSA-5pq2-9x2x-5p6w
- Sources
- NVDJSONOSV GHSA-5pq2-9x2x-5p6wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hono | honocpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:* |
< 4.12.4 | 4.12.4 |
| OSV | npm | hono | < 4.12.4 | 4.12.4 |
References
- https://github.com/honojs/hono/commit/44ae0c8cc4d5ab2bed529127a4ac72e1483ad073 · Patch, WEB
- https://github.com/honojs/hono/security/advisories/GHSA-5pq2-9x2x-5p6w · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-29086 · ADVISORY
- https://github.com/honojs/hono · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 4 Mar 2026)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 4 Mar 2026)