{"id":"CVE-2026-69214","aliases":["CVE-2026-69214","GHSA-wv64-j4fq-5f9x"],"related":[],"kind":"vulnerability","state":"published","title":"Http4s: CookieJar middleware accepts arbitrary Set-Cookie domain","summary":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, The CookieJar client middleware stores a response cookie’s Domain attribute without checking that it domain-matches the host that supplied the cookie or rejecting public suffixes. A malicious or compromised server contacted through the same CookieJar can plant a cookie for another domain, and the jar later sends that cookie to the victim domain, enabling session fixation or overwriting security-sensitive cookies. The patch validates the Set-Cookie domain against the response origin, although public-suffix rejection remains unimplemented. 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, The CookieJar client middleware stores a response cookie’s Domain attribute without checking that it domain-matches the host that supplied the cookie or rejecting public suffixes. A malicious or compromised server contacted through the same CookieJar can plant a cookie for another domain, and the jar later sends that cookie to the victim domain, enabling session fixation or overwriting security-sensitive cookies. The patch validates the Set-Cookie domain against the response origin, although public-suffix rejection remains unimplemented. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","source":"cvelist"},{"lang":"en","text":"When processing a `Set-Cookie` from a response, the `CookieJar` client middleware trusts the server-supplied `Domain` attribute verbatim, with no check that it domain-matches the host that sent the cookie (RFC6265 §5.3 step 6) and no public suffix check.  A malicious or compromised server can therefore plant a cookie for any domain in the cookie jar, which is subsequently set on the client's next request to that victim domain, enabling session fixation or overwriting security-relevant cookies.\n\n## Impact\n\nSession fixation and overwrite of security-relevant cookies for arbitrary domains contacted by the same wrapped client.\n\n## Preconditions\n\n- Application uses the `CookieJar` client middleware.\n- Application contacts an attacker-controlled (or compromised) server using the same jar it uses for trusted hosts.\n\n## Workarounds\n\n- Do not share a `CookieJar` across trusted and untrusted targets.\n\n## Note\n\nThis middleware still does not implement public suffix rejection.","format":"markdown","source":"ghsa"}],"published":"2026-09-15T19:04:05.469Z","modified":"2026-09-16T20:39:16.610Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","score":6.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","score":6.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:N","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-384","CWE-565"],"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-client_2.12","purl":"pkg:maven/org.http4s/http4s-client_2.12","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-client_2.13","purl":"pkg:maven/org.http4s/http4s-client_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M1","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-client_2.13","purl":"pkg:maven/org.http4s/http4s-client_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M1","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-client_3","purl":"pkg:maven/org.http4s/http4s-client_3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-client_3","purl":"pkg:maven/org.http4s/http4s-client_3","source":"ghsa"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-wv64-j4fq-5f9x","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/commit/87535f7288f3baaf6736e2735087e473762b5b2f","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://github.com/http4s/http4s","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-09-16T18:18:28.078Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-69214","url":"https://www.cve.org/CVERecord?id=CVE-2026-69214","licence":"CVE Terms of Use","modified":"2026-09-16T18:37:05.666Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wv64-j4fq-5f9x","url":"https://github.com/advisories/GHSA-wv64-j4fq-5f9x","licence":"CC-BY-4.0","modified":"2026-09-15T20:15:05.099Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-69214","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69214","licence":"Public domain","modified":"2026-09-16T20:39:16.610Z"}],"updatedAt":"2026-11-25T22:59:38.661Z","epss":{"score":0.00259,"percentile":0.18773,"date":"2026-12-01T12:00:22.000Z"}}