Moderate severityNVD Advisory· Published Mar 4, 2026· Updated Mar 5, 2026
Hono: Cookie Attribute Injection via Unsanitized domain and path in setCookie()
CVE-2026-29086
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
hononpm | < 4.12.4 | 4.12.4 |
Affected products
15- osv-coords14 versionspkg:apk/chainguard/honopkg:apk/chainguard/hono-adapter-mqttpkg:apk/chainguard/hono-clipkg:apk/chainguard/hono-compatpkg:apk/chainguard/hono-service-authpkg:apk/chainguard/hono-service-command-routerpkg:apk/chainguard/hono-service-device-registry-jdbcpkg:apk/chainguard/kibana-9.1pkg:apk/chainguard/kibana-9.1-iamguardedpkg:apk/chainguard/librechatpkg:apk/chainguard/opensearch-dashboards-2pkg:apk/chainguard/opensearch-dashboards-2-fipspkg:apk/wolfi/opensearch-dashboards-2pkg:npm/hono
< 0+ 13 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 9.1.10-r7
- (no CPE)range: < 9.1.10-r7
- (no CPE)range: < 0.8.3-r1
- (no CPE)range: < 2.19.5-r3
- (no CPE)range: < 2.19.5-r1
- (no CPE)range: < 2.19.5-r3
- (no CPE)range: < 4.12.4
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-5pq2-9x2x-5p6wghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-29086ghsaADVISORY
- github.com/honojs/hono/commit/44ae0c8cc4d5ab2bed529127a4ac72e1483ad073ghsax_refsource_MISCWEB
- github.com/honojs/hono/security/advisories/GHSA-5pq2-9x2x-5p6wghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.