{"id":"CVE-2026-69211","aliases":["GHSA-7qh7-rghh-698h"],"url":"https://o3.security/vulnerability/CVE-2026-69211","summary":"Http4s: Set-Cookie rendering does not escape attribute delimiters","details":"## 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","published":"2026-09-15T18:56:50.369Z","modified":"2026-10-28T02:30:32.552378218Z","cvss":{"score":4.8,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"},"epss":{"score":0.00326,"percentile":0.18131,"asOf":"2026-11-30"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.http4s:http4s-core_2.12","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-core_2.13","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-core_3","fixedVersion":"0.23.35"},{"ecosystem":"Maven","name":"org.http4s:http4s-core_2.13","fixedVersion":"1.0.0-M47"},{"ecosystem":"Maven","name":"org.http4s:http4s-core_3","fixedVersion":"1.0.0-M47"}],"fix":{"url":"https://github.com/http4s/http4s/commit/5c8e69ac0f4a2fe03c3481dccd74101cd2e2a890","label":"http4s/http4s@5c8e69a"},"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-69211.json"},{"type":"ADVISORY","url":"https://github.com/http4s/http4s/security/advisories/GHSA-7qh7-rghh-698h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69211"},{"type":"FIX","url":"https://github.com/http4s/http4s/commit/5c8e69ac0f4a2fe03c3481dccd74101cd2e2a890"},{"type":"PACKAGE","url":"https://github.com/http4s/http4s"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-10-28T02:30:32.552378218Z"}}