{"id":"CVE-2026-69211","aliases":["CVE-2026-69211","GHSA-7qh7-rghh-698h"],"related":[],"kind":"vulnerability","state":"published","title":"Http4s: Set-Cookie rendering does not escape attribute delimiters","summary":"Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, ResponseCookie.render writes attacker-influenced name, content, domain, path, and extension values without neutralizing semicolons or control characters. An application that constructs a ResponseCookie from unvalidated input can therefore emit injected cookie attributes such as Domain, Path, or SameSite, widening cookie scope or weakening protections, and control characters may enable header splitting on permissive backends. The patch strips control characters from all five fields and strips semicolons from name, content, domain, and path while retaining the extension delimiter behavior. 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, ResponseCookie.render writes attacker-influenced name, content, domain, path, and extension values without neutralizing semicolons or control characters. An application that constructs a ResponseCookie from unvalidated input can therefore emit injected cookie attributes such as Domain, Path, or SameSite, widening cookie scope or weakening protections, and control characters may enable header splitting on permissive backends. The patch strips control characters from all five fields and strips semicolons from name, content, domain, and path while retaining the extension delimiter behavior. This issue is fixed in versions 0.23.35 and 1.0.0-M47.","source":"cvelist"},{"lang":"en","text":"## Summary\n\n`ResponseCookie.render` writes the cookie `name`, `content`, `domain`, `path`, and `extension` fields verbatim, with no sanitization of `;` or control characters.  An application that places attacker-controlled data into any of these fields lets the attacker inject additional cookie attributes (`Domain=`, `Path=`, `SameSite=None`, etc.) by embedding `; `, widening a cookie's scope or downgrading its protections.\n\n## Impact\n\nCookie attribute injection: scope widening (`Domain`), `SameSite` downgrade, or overriding security-relevant attributes for applications that render attacker-influenced data in a `ResponseCookie` field. CR/LF in a field also threatens header splitting on backends that do not strip them.\n\n## Preconditions\n\n- Application constructs a `ResponseCookie` with attacker-influenced `content`, `name`, `path`, `domain`, or `extension`.\n- The application does not independently validate the value.\n\n## Workarounds\n\nValidate cookie field values against the RFC6265 grammar before constructing `ResponseCookie`, rejecting `;` and control characters.\n\n## Patch\n\n- Control characters are stripped from `content`, `name`, `path`, `domain`, and `extension`.\n- Semi-colons are stripped from `content`, `name`, `path`, and `domain`.  Because `extension` is a single value, the semi-colon must be allowed as a delimiter, and sanitizing untrusted values remains the caller's responsibility.\n\n## Resources\n\n- [RFC6265 §4.1](https://www.rfc-editor.org/info/rfc6265/#section-4.1.1): Set-Cookie syntax","format":"markdown","source":"ghsa"}],"published":"2026-09-15T18:56:50.369Z","modified":"2026-11-30T18:15:04.524Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-113","CWE-1286"],"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-core_2.12","purl":"pkg:maven/org.http4s/http4s-core_2.12","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-core_2.13","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.23.35"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_3","purl":"pkg:maven/org.http4s/http4s-core_3","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.0.0-M2","status":"affected","fixed":"1.0.0-M47"}],"ecosystem":"Maven","package":"org.http4s:http4s-core_2.13","purl":"pkg:maven/org.http4s/http4s-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-core_3","purl":"pkg:maven/org.http4s/http4s-core_3","source":"ghsa"}],"references":[{"url":"https://github.com/http4s/http4s/security/advisories/GHSA-7qh7-rghh-698h","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/http4s/http4s/commit/5c8e69ac0f4a2fe03c3481dccd74101cd2e2a890","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-69211","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":"partial","date":"2026-09-16T13:55:53.661Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-69211","url":"https://www.cve.org/CVERecord?id=CVE-2026-69211","licence":"CVE Terms of Use","modified":"2026-09-16T13:56:02.831Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7qh7-rghh-698h","url":"https://github.com/advisories/GHSA-7qh7-rghh-698h","licence":"CC-BY-4.0","modified":"2026-11-30T18:15:04.524Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-69211","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69211","licence":"Public domain","modified":"2026-09-16T20:39:16.610Z"}],"updatedAt":"2026-11-30T18:47:14.129Z","epss":{"score":0.00216,"percentile":0.12847,"date":"2026-12-02T12:00:21.000Z"}}