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

- Severity: Medium 5.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-03-04T19:49:14.000Z
- Modified: 2026-09-10T03:50:37.686Z
- Also known as: GHSA-5pq2-9x2x-5p6w
- Weaknesses: CWE-113, CWE-1113
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- honojs hono: < 4.12.4
- hono (npm): before 4.12.4
- hono hono: before 4.12.4

## Every score

- GitHub_M: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-5pq2-9x2x-5p6w> (vendor-advisory, web)
- <https://github.com/honojs/hono/commit/44ae0c8cc4d5ab2bed529127a4ac72e1483ad073> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-29086> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-29086](https://www.cve.org/CVERecord?id=CVE-2026-29086), CVE Terms of Use, modified 2026-03-05
- GitHub Advisory Database: [GHSA-5pq2-9x2x-5p6w](https://github.com/advisories/GHSA-5pq2-9x2x-5p6w), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-29086](https://nvd.nist.gov/vuln/detail/CVE-2026-29086), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29086 · Whole record: https://cve.day/CVE-2026-29086.json · Rebuilt by cve.day 2026-11-25T22:59:15.234Z
