Medium severity · published May 25, 2026
CVE-2026-47069
CRLF injection in cookie domain/path options in hackney
5.3
CVSS
0.4%
EPSS
No
On KEV
Description
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in benoitc hackney allows HTTP Response Splitting. The hackney_cookie:setcookie/3 function in src/hackney_cookie.erl validates the Name and Value arguments against CRLF and control characters, but concatenates the domain and path options verbatim into the output iolist with no equivalent check. An attacker who controls either option — for example by supplying a Host header value forwarded as the cookie domain, or a request path forwarded as the cookie path — can inject a literal CRLF sequence and arbitrary additional Set-Cookie headers into the HTTP response.
This issue affects hackney: from 0.9.0 before 4.0.1.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.4% · higher than 37% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HA
hackney · benoitc
0.9.0 before 4.0.1; 602d5c7f2ea4acbc83ed75230655d935a0750ebc before 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-47069
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-47069
Patch
https://cna.erlef.org/cves/CVE-2026-47069.html
Patch
https://github.com/benoitc/hackney/commit/8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
Exploit
https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2
Patch
https://osv.dev/vulnerability/EEF-CVE-2026-47069
More from hackney
9.1
CVE-2026-115693
Custom cacerts or cacertfile do not restrict trust to the pinned CA in hackney
8.2
CVE-2026-97200
Unbounded response body buffering and decompression in hackney
7.5
CVE-2026-47073
Unbounded memory consumption in WebSocket client in hackney
7.5
CVE-2026-47067
Atom table exhaustion via unrecognized URL schemes in hackney
7.5
CVE-2026-47072
CRLF injection in WebSocket upgrade request in hackney
