{"id":"CVE-2026-69217","aliases":["GHSA-p83c-4wj9-p6w9"],"url":"https://o3.security/vulnerability/CVE-2026-69217","summary":"Http4s: Ember Server accepts duplicate Content-Length headers","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](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)","published":"2026-09-15T19:20:02.902Z","modified":"2026-10-28T02:30:41.561367179Z","cvss":{"score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N"},"epss":{"score":0.00499,"percentile":0.35689,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.http4s:http4s-ember-core_2.12","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-ember-core_2.13","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-ember-core_2.13","fixedVersion":"1.0.0-M47"},{"ecosystem":"Maven","name":"org.http4s:http4s-ember-core_3","fixedVersion":"1.0.0-M47"},{"ecosystem":"Maven","name":"org.http4s:http4s-ember-core_3","fixedVersion":"0.23.35"}],"fix":{"url":"https://github.com/http4s/http4s/commit/24e8d34e3ea89f8f23e0053ec9944f6467e8086d","label":"http4s/http4s@24e8d34"},"references":[{"type":"WEB","url":"https://github.com/http4s/http4s/releases/tag/v0.23.35"},{"type":"WEB","url":"https://github.com/http4s/http4s/releases/tag/v1.0.0-M47"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69217.json"},{"type":"ADVISORY","url":"https://github.com/http4s/http4s/security/advisories/GHSA-p83c-4wj9-p6w9"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69217"},{"type":"FIX","url":"https://github.com/http4s/http4s/commit/24e8d34e3ea89f8f23e0053ec9944f6467e8086d"},{"type":"PACKAGE","url":"https://github.com/http4s/http4s"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:41.561367179Z"}}