CVE-2026-69217 — http4s: Ember Server Accepts Duplicate Content-Length Headers
Research article
http4s Ember Server Accepts Duplicate Content-Length Headers, Enabling Request Smuggling (CVE-2026-69217)
| CVE | CVE-2026-69217 |
|---|---|
| Vendor and product | maven:org.http4s:http4s-ember-core 2.12; maven:org.http4s:http4s-ember-core 2.13; maven:org.http4s:http4s-ember-core 3 |
| Published | November 30, 2026 19:10 UTC |
| Research cut-off | November 30, 2026 19:05 UTC |
| Sources reviewed | 3: NVD record (last modified 2026-09-16); CISA KEV catalog; GitHub advisory (2026-11-30) |
Executive summary
CVE-2026-69217 is a request smuggling flaw in the http4s Ember HTTP/1.1 parser, which accepts two Content-Length headers with different values and uses the later one, contrary to RFC 9112 section 6.3 [1, 3]. The NVD record and the GitHub Security Advisory both score it CVSS 3.1 8.7 (HIGH) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N [1, 3]. The CVE record lists affected versions below 0.23.35 and from 1.0.0-M1 up to, but not including, 1.0.0-M47, while the GitHub advisory starts that range at 1.0.0-M2, a discrepancy that is unresolved in the pack [1, 3]. Per the advisory, server-side exploitation requires Ember to sit behind an intermediary that forwards differing Content-Length headers and keeps persistent upstream connections, and the client side requires a malicious or compromised upstream server [3]. The flaw is not listed in CISA KEV as of 2026-11-30, and the pack contains no confirmed exploitation, proof of concept or EPSS score [2, 3]. The most important immediate actions are to inventory http4s-ember-core versions and to place an intermediary in front of Ember that rejects differing Content-Length headers with 400, then upgrade to 0.23.35 or 1.0.0-M47 [3].
Key points
- CVE-2026-69217 is a request smuggling flaw in the http4s Ember HTTP/1.1 parser, which uses the later of two conflicting Content-Length headers [1, 3].
- NVD and GitHub both score it CVSS 3.1 8.7 HIGH, vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N [1, 3].
- Fixed in http4s-ember-core 0.23.35 and 1.0.0-M47; the 1.0 lower bound differs between the CVE record (M1) and the GitHub advisory (M2) [1, 3].
- Server-side risk requires an intermediary that forwards differing Content-Length headers and keeps persistent upstream connections [3].
- Not listed in CISA KEV as of 2026-11-30; no confirmed exploitation or public proof of concept is in the pack [2, 3].
Vulnerability identification
| Field | Detail |
|---|---|
| CVE ID | CVE-2026-69217 [1] |
| Vendor / project | http4s project [1] |
| Product / component | http4s Ember server and client, HTTP/1.1 parser, artifact http4s-ember-core [3] |
| Published (NVD) | 2026-09-15T20:17:41 [1] |
| Last modified (NVD) | 2026-09-16T20:39:16 [1] |
| NVD record status | Deferred [1] |
| GitHub advisory | GHSA-p83c-4wj9-p6w9, published 2026-11-30T18:41:03, updated 2026-11-30T18:41:05 [3] |
| CWE | CWE-444, Inconsistent Interpretation of HTTP Requests (HTTP Request/Response Smuggling) [1, 3] |
| CISA KEV | Not listed as of 2026-11-30 [2] |
CWE-444 covers cases where two components parse the same HTTP message differently, so each derives a different request boundary. That mismatch is the basis of request smuggling [1, 3].
CVSS scores (both 3.1, both 8.7 HIGH, same vector):
| Source | Score | Severity | Vector | Scorer |
|---|---|---|---|---|
| NVD record [1] | 8.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N | GitHub, listed by NVD as Secondary |
| GitHub advisory [3] | 8.7 | HIGH | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N | GitHub |
The two sources agree on score and vector. The sources do not explain the AC:H (high complexity) metric beyond the advisory's stated preconditions [3].
Related identifiers: GHSA-p83c-4wj9-p6w9 [1, 3]. The advisory text does not state a CVE identifier, a CVSS score or an exploitation status [3].
Vulnerability description
The flaw violates message framing integrity: the HTTP/1.1 parser must determine a single, unambiguous body length for each request. Ember's parser accepts a request containing two Content-Length headers with different values and uses the later value [3]. RFC 9112 section 6.3 requires a recipient to respond with 400 (Bad Request) and close the connection in this case [3].
When Ember receives such a request directly from a client, the advisory's consequences depend on whether a second, differently framing component is in the path. The advisory's server-side scenario requires an intermediary that frames the request using the other Content-Length occurrence, which creates a disagreement about where one request ends and the next begins [3]. A successful desynchronisation can let an attacker's bytes be prepended to another user's request on a persistent connection [3].
The advisory lists these possible server-side impacts: bypass of front-end security controls, cross-user request hijacking through capture of headers such as Cookie or Authorization, and cache poisoning [3]. The advisory also states that the client uses the same parser, so the response path is affected too, with the client risk described as narrower and less severe [3].
Not established by the pack: whether these impacts have been demonstrated against any real deployment, and whether any server-side case exists without an intermediary.
Attack surface and exploitation prerequisites
| Prerequisite | Server side (Ember server) | Client side (Ember client as proxy) | Basis |
|---|---|---|---|
| Network position | Remote attacker able to reach the intermediary in front of Ember [3] | Malicious or compromised upstream server [3] | Advisory |
| Authentication | Unauthenticated [3] | Not stated; the upstream server is the attacker-controlled party [3] | Advisory; vector PR:N [1, 3] |
| User interaction | None in the vector [1, 3] | None in the vector [1, 3] | Vector UI:N |
| Required configuration | Any EmberServerBuilder HTTP/1.1 configuration placed behind an intermediary [3] | Client deployed as a proxy serving several downstream users over pooled connections [3] | Advisory |
| Intermediary behaviour | Forwards differing Content-Length headers without rejecting them, frames on the other occurrence, and keeps persistent upstream connections [3] | Not described | Advisory |
| Attack complexity | Vector AC:H [1, 3] | Vector AC:H [1, 3] | Vector |
The vector's network, no-privilege and no-interaction values are consistent with the advisory's remote, unauthenticated server scenario [1, 3]. The vector alone does not establish the intermediary requirement, which comes from the advisory text [3].
Impact analysis
| Property | Technically described impact (advisory) | Plausible downstream consequence (analyst assessment) |
|---|---|---|
| Confidentiality | Capture of headers such as Cookie or Authorization from other users' requests [3] | Session or token exposure for users sharing a persistent connection, depending on the intermediary |
| Integrity | Cache poisoning and front-end control bypass [3] | Altered cached responses served to other users |
| Availability | Not described as a primary impact; the vector sets A:N [1, 3] | Not assessed in the pack |
| Authentication and authorization | Front-end security bypass [3] | Requests reaching back-end logic without intermediary checks |
| Privilege boundaries | Cross-user request hijacking [3] | Crossing of user boundaries on shared connections |
| Data and privacy | Not described beyond header capture [3] | Not assessed in the pack |
| Regulatory or contractual | Not addressed in the pack | Not assessed in the pack |
Affected products and versions
| Source | Affected range | Fixed version | Qualification |
|---|---|---|---|
| CVE record [1] | Below 0.23.35; from 1.0.0-M1 up to, not including, 1.0.0-M47 | Not stated per branch in the record; references point to 0.23.35 and 1.0.0-M47 [1] | Vendor-published in the CVE record |
| GitHub advisory [3] | http4s-ember-core below 0.23.35; from 1.0.0-M2 up to, not including, 1.0.0-M47 | 0.23.35 for the 0.23 line; 1.0.0-M47 for the 1.0 line [3] | Packages listed for Scala 2.12, 2.13 and 3 artifacts; the 2.12 entry lists only the 0.23 range [3] |
Discrepancy: the CVE record begins the 1.0 range at 1.0.0-M1 [1], while the GitHub advisory begins it at 1.0.0-M2 [3]. The pack does not resolve this. Until the vendor clarifies, treat 1.0.0-M1 as potentially affected, which is an analyst recommendation. The pack does not include the vendor's own advisory text, only facts extracted from the GitHub advisory [3].
Known exclusions: the advisory identifies the fixed releases above; no other exclusions are stated in the pack [3].
Exploitation and threat intelligence status
- Confirmed exploitation in the wild: not established by the pack. The GitHub advisory states no exploitation status [3].
- CISA KEV: not listed as of 2026-11-30 [2]. The catalog check is not evidence that the flaw has not been exploited [2].
- Public proof of concept: no public exploit reference is included in the pack.
- Threat actors, campaigns and sectors: none attributed in the pack.
- EPSS: the pack contains no FIRST EPSS score for this CVE.
Detection and exposure assessment
The pack gives no version-check command or vendor detection guidance. Use the following read-only method, which is standard practice for JVM builds:
- Inspect the build definition (for example sbt or Maven files) and the resolved dependency report for the http4s-ember-core artifact, noting its Scala suffix (_2.12, _2.13 or _3) [3].
- Classify each resolved version against the ranges in the affected-products table: below 0.23.35 is affected; 1.0.0-M1 or 1.0.0-M2 through 1.0.0-M46 is affected, subject to the unresolved lower bound [1, 3].
- Record each service that embeds Ember and whether it is reached through an intermediary. The server-side scenario needs an intermediary, and the client-side scenario needs a proxy serving several downstream users over pooled connections [3].
- Review the intermediary configuration to determine whether it rejects differing Content-Length headers with 400 and whether it keeps persistent upstream connections [3].
A version match is not proof of exploitability; the intermediary and connection conditions must also hold [3].
Log and telemetry: the pack contains no log events, fields or network patterns for this flaw. Not established by the reviewed sources: observable indicators of successful exploitation.
Technical mechanics
The following flow restates the advisory's server-side scenario [3]:
1. Client sends one request with two Content-Length headers, different values.
2. Intermediary frames the request using one occurrence (its own rule).
3. Intermediary forwards the request over a persistent upstream connection unchanged.
4. Ember frames the request using the later occurrence (the flaw).
5. The two components disagree on where the request ends.
6. Remaining bytes are read as the start of the next request on that connection.
The control that should have prevented the issue is RFC 9112 section 6.3, which requires rejection with 400 and connection closure [3]. The advisory's cited resource for request smuggling is RFC 9112 section 11.2 [3].
Root cause: the advisory states the parser accepts the conflicting headers and uses the later value [3]. Whether the fix changes only this selection rule is not stated in the pack.
Workarounds and compensating controls
- Intermediary rejection: place an intermediary in front of Ember that rejects requests with differing Content-Length headers with 400 [3]. Residual risk: the flaw remains in Ember; the control protects only traffic that passes through the intermediary, and the client-side scenario is not addressed by a front-end rule.
- This is a workaround, not an equivalent of the fix. The advisory lists it as a workaround and identifies 0.23.35 and 1.0.0-M47 as the fixed versions [3].
Remediation
Immediate mitigation:
- Deploy or verify an intermediary that rejects requests carrying differing Content-Length headers with 400 before traffic reaches Ember [3]. Verify in a test environment by confirming that such a request returns 400 and the connection closes.
- Restrict the intermediary-to-Ember path to the intermediary only, so clients cannot bypass the control [analyst assessment].
- Where the client is used as a proxy, review whether it serves several downstream users over pooled connections, since that enables the client-side scenario [3].
Permanent fix (vendor-confirmed):
- For the 0.23 line, upgrade http4s-ember-core to 0.23.35 [3].
- For the 1.0 line, upgrade http4s-ember-core to 1.0.0-M47 [3].
- Rebuild and redeploy each service that embeds Ember, then confirm the resolved version in the dependency report [3].
Not established by the pack: whether a restart or configuration change is required after upgrading, and the upgrade prerequisites and rollback steps for each dependent application.
Remediation checklist
- Inventory every service that embeds http4s-ember-core, recording the Scala suffix and resolved version from the build's dependency report [3].
- Flag any version below 0.23.35, and any 1.0.0-M1 or 1.0.0-M2 through 1.0.0-M46, as affected; treat 1.0.0-M1 as affected until the vendor resolves the discrepancy [1, 3].
- Deploy or verify an intermediary in front of Ember that rejects requests with differing Content-Length headers with 400; test in a non-production environment that such a request receives 400 and the connection closes [3].
- Ensure clients cannot reach Ember directly, bypassing the intermediary, using network access rules [analyst assessment].
- Upgrade 0.23.x deployments of http4s-ember-core to 0.23.35 [3].
- Upgrade 1.0.x deployments of http4s-ember-core to 1.0.0-M47 [3].
- After upgrading, confirm the resolved http4s-ember-core version in the dependency report for each Scala artifact (_2.12, _2.13, _3) [3].
- Review any Ember client used as a proxy for several downstream users over pooled connections, and treat upstream servers as untrusted until upgraded [3].
- Check whether the upgrade requires a restart or configuration change; the pack does not state this, so confirm with the vendor release notes [1].
Evidence gaps
- Not established by the reviewed sources: whether the CVE record's lower bound for the 1.0 line is 1.0.0-M1 (CVE record) or 1.0.0-M2 (GitHub advisory); the vendor's own advisory text is needed to settle it.
- Not established by the reviewed sources: the root cause beyond the advisory's description of the parser's selection of the later header value; a vendor code change or commit analysis would be needed.
- Not established by the reviewed sources: whether any server-side exploitation is possible without an intermediary.
- Not established by the reviewed sources: confirmed exploitation in the wild, threat actor attribution or a public proof of concept; a CISA KEV update, vendor report or exploit repository reference would be needed.
- Not established by the reviewed sources: a FIRST EPSS score; the pack does not include one for this CVE.
- Not established by the reviewed sources: indicators of compromise, log events or network patterns; the advisory and records give none.
- Not established by the reviewed sources: whether restarts, configuration changes or dependency-specific steps are required after upgrading; release notes for 0.23.35 and 1.0.0-M47 would settle it.
- Not established by the reviewed sources: the reason for the NVD record's publication (2026-09-15) preceding the GitHub advisory's publication (2026-11-30), and whether the record was revised after the advisory.
References
- CVE-2026-69217 record. NIST National Vulnerability Database (NVD), 2026-09-16. https://nvd.nist.gov/vuln/detail/CVE-2026-69217. Accessed 2026-11-30.
- Known Exploited Vulnerabilities Catalog. Cybersecurity and Infrastructure Security Agency (CISA), 2026-11-30. https://www.cisa.gov/known-exploited-vulnerabilities-catalog. Accessed 2026-11-30.
- GHSA-p83c-4wj9-p6w9 / CVE-2026-69217 — http4s: Ember Server Accepts Duplicate Content-Length Headers. GitHub Security Advisory Database, 2026-11-30. https://github.com/advisories/GHSA-p83c-4wj9-p6w9. Accessed 2026-11-30.
Severity breakdown
High · 8.7
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- high on confidentiality and integrity, none on availability
Weakness
- CWE-444: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| org.http4s:http4s-ember-core_2.12 (Maven) | < 0.23.35 | 0.23.35 |
| org.http4s:http4s-ember-core_2.13 (Maven) | < 0.23.35 | 0.23.35 |
| ≥ 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 | |
| org.http4s:http4s-ember-core_3 (Maven) | ≥ 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
| < 0.23.35 | 0.23.35 | |
| http4s | < 0.23.35, >= 1.0.0-M1, < 1.0.0-M47 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/http4s/http4s/commit/24e8d34e3ea89f8f23e0053ec9944f6467e8086d
- github.com/http4s/http4s/releases/tag/v0.23.35
- github.com/http4s/http4s/releases/tag/v1.0.0-M47
Other references
Details
Ember's HTTP/1.1 parser accepts a request that carries two Content-Length headers with differing values, accepting the latter value. RFC 9112 §6.3 requires a recipient to respond 400 (Bad Request) and close the connection.
When an Ember server is deployed behind a intermediary that frames on a different occurrence of the header, HTTP request smuggling (CL.CL desync) is possible.
Impact
Server
The server is vulnerable to HTTP request smuggling when deployed as an origin behind an intermediary that maintains keep-alive connections and frames requests using a different Content-Length value than Ember, which uses a last-wins policy.
- Front-end security bypass: the smuggled request reaches paths the intermediary might have blocked, with attacker-chosen method and headers.
- Cross-user request hijack: a dangling smuggled prefix concatenates with the next victim's request on the shared backend socket, capturing its sensitive headers (e.g.,
CookieorAuthorization). - Cache poisoning: the smuggled response is associated with the next request key in a caching proxy.
Client
The same parser is used by the client and applies to the response path. The threat is narrower and less severe than the server:
- The upstream server (origin or intermediary) must be malicious or compromised.
- The client must be deployed as a proxy shared across multiple downstream consumers. If the misframed bytes are attached to a different downstream user's request on a pooled connection, cross-user response hijack or cache poisoning are possible.
Preconditions
- Any
EmberServerBuilderHTTP/1.1 config behind an intermediary - Unauthenticated remote attacker able to reach the intermediary
- That intermediary forwards at least two differing
Content-Lengthheaders without rejecting and frames on a different occurrence of the header - Intermediary keeps persistent upstream connections
Patches
The issue is addressed in http4s-0.23.35.
Workarounds
- Use a strictly-conformant intermediary that rejects differing
Content-Lengthwith400
Resources
Affected
- maven:org.http4s:http4s-ember-core 2.12
- maven:org.http4s:http4s-ember-core 2.13
- maven:org.http4s:http4s-ember-core 3
Frequently asked questions
What is CVE-2026-69217?
CVE-2026-69217 is a request smuggling flaw in the http4s Ember HTTP/1.1 parser, which accepts two Content-Length headers with different values and uses the later one, contrary to RFC 9112 section 6.3. The NVD record and the GitHub Security Advisory both score it CVSS 3.1 8.7 (HIGH) with vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N. Weakness type: Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling') (CWE-444).
How severe is CVE-2026-69217?
CVE-2026-69217 has a CVSS 3.1 base score of 8.7 (high), from the CNA (github.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-69217 being exploited?
Not as far as is known: CVE-2026-69217 is not in CISA's Known Exploited Vulnerabilities catalog as of November 30, 2026. EPSS estimates a 0.5% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-69217?
org.http4s:http4s-ember-core_2.12 (Maven) < 0.23.35 (fixed in 0.23.35); org.http4s:http4s-ember-core_2.13 (Maven) < 0.23.35 (fixed in 0.23.35); org.http4s:http4s-ember-core_2.13 (Maven) ≥ 1.0.0-M2, < 1.0.0-M47 (fixed in 1.0.0-M47); org.http4s:http4s-ember-core_3 (Maven) ≥ 1.0.0-M2, < 1.0.0-M47 (fixed in 1.0.0-M47); and more, listed on this page.
How do I fix CVE-2026-69217?
Inventory every service that embeds http4s-ember-core, recording the Scala suffix and resolved version from the build's dependency report. Flag any version below 0.23.35, and any 1.0.0-M1 or 1.0.0-M2 through 1.0.0-M46, as affected; treat 1.0.0-M1 as affected until the vendor resolves the discrepancy. Deploy or verify an intermediary in front of Ember that rejects requests with differing Content-Length headers with 400; test in a non-production environment that such a request receives 400 and the connection closes.
Timeline & sources
References
Related vulnerabilities & news
- http4s-core WebSocket decoder accepts negative frame length, enabling infinite-loop denial of service
- CVE-2026-135203 — Eclipse Foundation Eclipse Ditto
- EUSurvey 1.6 Path Traversal Vulnerability Enables Remote Code Execution
- Gradle CVE-2026-22865: a failing earlier repository can let a later one serve malicious build artifacts
- Gradle dependency resolution can fall back to other repositories after an unresolvable host (CVE-2026-22816)