Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessApplication issues multi-cookie login response
-
DeliveryHono Lambda adapter merges Set-Cookie headers with comma delimiter
-
ExploitALB forwards malformed single header to client
-
ExecutionBrowser fails to parse merged cookie string
-
PersistSession or CSRF cookie silently absent from client state
-
ImpactSecurity control (session validation or CSRF check) fails or is bypassable
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding for downstream
|
| Exploitation Conditions | Three conditions must all be true: (1) the backend application uses Hono npm package version below 4.12.25; (2) the application sets two or more Set-Cookie headers in a single HTTP response (common for session + CSRF cookie combinations); and (3) the AWS Lambda function is fronted by an ALB with single-header mode active (the default, i.e., multi-value headers NOT enabled on the target group) OR by VPC Lattice v2. No authentication, attacker-controlled request payload, or special user role is required to trigger the defect - it manifests automatically on any qualifying multi-cookie response. Exploitation is naturally limited to security-sensitive outcomes (session loss, CSRF bypass) only in applications where cookie-based security mechanisms are in use; purely informational preference cookies being dropped carries no security consequence. |
| Impact | The NVD-assigned CVSS 3.1 score of 5.3 Medium (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N) is consistent with a network-reachable encoding flaw that degrades integrity with no direct confidentiality or availability impact. No EPSS data was provided in the input, and the vulnerability is absent from the CISA KEV catalog, indicating no confirmed widespread exploitation. The CSRF tag in the advisory metadata elevates real-world concern beyond the raw score: if CSRF cookie delivery fails silently, downstream CSRF defenses built on the double-submit cookie pattern are neutralized without any attacker-visible trigger. The attack complexity is effectively zero from the defender's perspective - the defect fires on every multi-cookie response in affected configurations, requiring no crafted attacker input. Risk is deployment-conditional: applications using a single cookie or deployed on non-affected infrastructure (API Gateway, ALB multi-value mode) are not impacted. For those in affected configurations, the practical risk to session integrity and CSRF protection is meaningful despite the moderate CVSS score. No conflicting signals were identified; CVSS vector and description are internally consistent. |
| Exploit ScenarioDerived | A web application built with Hono and deployed on AWS Lambda behind an ALB in the default single-header mode issues a login response containing both a session cookie and a CSRF token cookie. The Hono adapter merges both into a single malformed Set-Cookie header value; the client's browser cannot parse the combined value and discards one or both cookies. Subsequent requests from the client arrive without the CSRF cookie, causing the server's CSRF validation to fail or be bypassed depending on how the application handles missing tokens - all without any attacker-crafted request. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 16, 2026
Cookie integrity failure in the Hono AWS Lambda adapter (npm/hono < 4.12.25) causes multiple Set-Cookie response headers to be merged into a single comma-separated value, violating RFC 6265 and producing unparseable cookie strings on ALB single-header mode (the default deployment) and VPC Lattice v2. Applications setting more than one cookie per response - including session tokens and CSRF cookies - will find those cookies silently dropped or misparsed by clients, potentially breaking authentication flows or defeating CSRF protections without any visible server-side error. No public exploit is identified at time of analysis, and the vulnerability is not listed in the CISA KEV catalog, but the defect is deterministic and triggers automatically on any multi-cookie response in affected deployments.
RemediationAI
Upgrade Hono to version 4.12.25 or later; this is the vendor-confirmed fix per the GitHub Security Advisory GHSA-j6c9-x7qj-28xf (https://github.com/honojs/hono/security/advisories/GHSA-j6c9-x7qj-28xf). For deployments that cannot upgrade immediately, enabling multi-value headers on the AWS ALB target group bypasses the defective code path entirely, as Hono correctly handles the array-based header format - this requires an AWS console or infrastructure-as-code configuration change and should be tested for compatibility with other header processing logic in the pipeline. As a narrower application-level workaround, reducing each response to a single Set-Cookie header eliminates the merge defect, but this is impractical for applications managing session and CSRF cookies independently and is not a recommended long-term approach. No other confirmed workarounds are available for VPC Lattice v2 deployments short of upgrading.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is classified as CWE-116 (Improper Encoding or Escaping of Output): the Hono AWS Lambda adapter serializes HTTP response headers by joining multiple Set-Cookie values with a comma-space delimiter, mirroring how generic multi-value HTTP headers are sometimes folded. However, RFC 6265 explicitly prohibits this for Set-Cookie because commas are valid characters within cookie attribute values - most notably in Expires dates (e.g., 'Expires=Thu, 01 Jan 2026 00:00:00 GMT'). A client receiving the merged single-header value cannot determine where one cookie definition ends and the next begins, leading to cookie loss or misparsing. The affected package is pkg:npm/hono, versions prior to 4.12.25. The defect is isolated to two AWS Lambda response paths: ALB single-header mode (the AWS default when multi-value headers are not explicitly enabled on the target group) and VPC Lattice v2 response format. API Gateway v1/v2 and ALB with multi-value headers already deliver Set-Cookie as a proper array and are structurally unaffected.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Network-accessible encoding flaw requiring no authentication; integrity impact is limited to cookie delivery corruption with no confidentiality or availability consequence.
Primary rating from Vendor (https://github.com/honojs/hono).
CVSS VectorVendor: https://github.com/honojs/hono
DescriptionCVE.org
Summary
On AWS Lambda, the ALB single-header response and the VPC Lattice v2 response join multiple Set-Cookie headers into one comma-separated value. Because commas also appear inside cookie attributes (for example Expires dates), clients cannot split the value back into individual cookies and silently drop or misparse them.
Details
Per RFC 6265, each cookie must be its own Set-Cookie header line, and commas may appear inside attribute values. Joining cookies with ", " collides with those commas, producing a value that clients cannot reliably split. Only ALB single-header mode and VPC Lattice v2 are affected; API Gateway v1/v2 and ALB with multi-value headers enabled already use an array and are unaffected.
Impact
A client may receive only one of the cookies, a malformed cookie, or none. Session, CSRF, or preference cookies can silently fail to apply, breaking sessions or forcing re-authentication. This affects applications that set multiple cookies per response and run on AWS Lambda behind an ALB in single-header mode (the default) or VPC Lattice v2.
Blast Radius
ecosystem impact- 58 npm packages depend on hono (42 direct, 16 indirect)
Ecosystem-wide dependent count for version 4.12.25.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.
EUVD-2026-38326
GHSA-j6c9-x7qj-28xf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB