Http4s: Set-Cookie rendering does not escape attribute delimiters
Published Sep 15, 2026
4.8
MEDIUMCVSS 3.1
EPSS 0.33%
Description
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.
Affected products
No data.
No data.
No data.
No Red Hat product state for this CVE.
No package ranges for this CVE.
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-79175 Advisory
- https://github.com/http4s/http4s/commit/5c8e69ac0f4a2fe03c3481dccd74101cd2e2a890 x_refsource_MISC
- https://github.com/http4s/http4s/releases/tag/v0.23.35 x_refsource_MISC
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47 x_refsource_MISC
- https://github.com/http4s/http4s/security/advisories/GHSA-7qh7-rghh-698h x_refsource_CONFIRM
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-79175 | Advisory | |
| https://github.com/http4s/http4s/commit/5c8e69ac0f4a2fe03c3481dccd74101cd2e2a890 | x_refsource_MISC | |
| https://github.com/http4s/http4s/releases/tag/v0.23.35 | x_refsource_MISC | |
| https://github.com/http4s/http4s/releases/tag/v1.0.0-M47 | x_refsource_MISC | |
| https://github.com/http4s/http4s/security/advisories/GHSA-7qh7-rghh-698h | x_refsource_CONFIRM |
Change history (0)
No recorded changes yet.