{"id":"CVE-2026-69217","aliases":["CVE-2026-69217","GHSA-p83c-4wj9-p6w9"],"related":[],"kind":"vulnerability","state":"published","title":"Http4s: Ember Server accepts duplicate Content-Length headers","summary":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, Ember’s HTTP/1.1 parser accepts differing duplicate Content-Length headers and uses the last value instead of rejecting the message. When an Ember server is behind a keep-alive intermediary that selects a different occurrence, an unauthenticated attacker can create CL.CL request smuggling that bypasses front-end controls, captures a later user’s headers, or poisons a cache. The shared client parser can also misframe responses from a malicious or compromised upstream when the client acts as a proxy for multiple downstream consumers. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, Ember’s HTTP/1.1 parser accepts differing duplicate Content-Length headers and uses the last value instead of rejecting the message. When an Ember server is behind a keep-alive intermediary that selects a different occurrence, an unauthenticated attacker can create CL.CL request smuggling that bypasses front-end controls, captures a later user’s headers, or poisons a cache. The shared client parser can also misframe responses from a malicious or compromised upstream when the client acts as a proxy for multiple downstream consumers. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","source":"cvelist"},{"lang":"en","text":"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](https://www.rfc-editor.org/info/rfc9112/#section-6.3-2.5) requires a recipient to respond `400` (Bad Request) and close the connection. \n\nWhen 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.\n\n## Impact\n\n### Server\n\nThe 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.\n\n- Front-end security bypass: the smuggled request reaches paths the intermediary might have blocked, with attacker-chosen method and headers.\n- 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., `Cookie` or `Authorization`).\n- Cache poisoning: the smuggled response is associated with the next request key in a caching proxy.\n\n### Client\n\nThe same parser is used by the client and applies to the response path.  The threat is narrower and less severe than the server:\n\n- The upstream server (origin or intermediary) must be malicious or compromised.\n- 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.\n\n## Preconditions\n\n- Any `EmberServerBuilder` HTTP/1.1 config behind an intermediary\n- Unauthenticated remote attacker able to reach the intermediary\n- That intermediary forwards at least two differing `Content-Length` headers without rejecting and frames on a different occurrence of the header\n- Intermediary keeps persistent upstream connections\n\n## Patches\n\nThe issue is addressed in http4s-0.23.35.\n\n## Workarounds\n\n- Use a strictly-conformant intermediary that rejects differing `Content-Length` with `400`\n\n## Resources\n\n- [RFC9112 §6.3: Message Body Length](https://www.rfc-editor.org/info/rfc9112/#name-message-body-length)\n- [RFC9112 §11.2: Request Smuggling](https://www.rfc-editor.org/info/rfc9112/#name-request-smuggling)","format":"markdown","source":"ghsa"}],"published":"2026-09-15T19:20:02.902Z","modified":"2026-11-30T18:45:06.013Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":8.7,"rating":"HIGH"}],"cwes":["CWE-444"],"affected":[{"ranges":[{"version":"< 0.23.35","status":"affected"},{"version":">= 1.0.0-M1, < 1.0.0-M47","status":"affected"}],"vendor":"http4s","product":"http4s","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.12","purl":"pkg:maven/org.http4s/http4s-ember-core_2.12","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.13","purl":"pkg:maven/org.http4s/http4s-ember-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M2","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_2.13","purl":"pkg:maven/org.http4s/http4s-ember-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M2","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_3","purl":"pkg:maven/org.http4s/http4s-ember-core_3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-ember-core_3","purl":"pkg:maven/org.http4s/http4s-ember-core_3","source":"ghsa"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-p83c-4wj9-p6w9","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/commit/24e8d34e3ea89f8f23e0053ec9944f6467e8086d","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/releases/tag/v0.23.35","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/releases/tag/v1.0.0-M47","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69217","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/http4s/http4s","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-16T13:52:29.524Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-69217","url":"https://www.cve.org/CVERecord?id=CVE-2026-69217","licence":"CVE Terms of Use","modified":"2026-09-16T13:52:40.263Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-p83c-4wj9-p6w9","url":"https://github.com/advisories/GHSA-p83c-4wj9-p6w9","licence":"CC-BY-4.0","modified":"2026-11-30T18:45:06.013Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-69217","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69217","licence":"Public domain","modified":"2026-09-16T20:39:16.610Z"}],"updatedAt":"2026-11-30T18:57:26.480Z","epss":{"score":0.00499,"percentile":0.4432,"date":"2026-12-01T12:00:22.000Z"}}