CVE-2026-47069
published low CVSS 4.0 · 2.1CRLF injection in cookie domain/path options in hackney
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| benoitc | — | hackney0.9.0 to < 4.0.1 · Other versions: unaffected | Affected | Not stated | EEF |
| benoitc | — | benoitc/hackneyhackney · 602d5c7f2ea4acbc83ed75230655d935a0750ebc to < 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 2.1 / 10
- Severity
- low
- Provider
- EEF · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| benoitc | hackney | 0.9.0 to < 4.0.1 (affected · semver)Default: unaffected | EEF · cna |
| benoitc | hackney | 602d5c7f2ea4acbc83ed75230655d935a0750ebc to < 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 (affected · git)Default: unaffected | EEF · cna |
Weaknesses
1- CWE-93 CWE-93 Improper Neutralization of CRLF Sequences
References
5- EEF CNA record for CVE-2026-47069 https://cna.erlef.org/cves/CVE-2026-47069.html
- Introducing commit 602d5c7 in benoitc/hackney https://github.com/benoitc/hackney/commit/602d5c7f2ea4acbc83ed75230655d935a0750ebc
- Fix commit 8e02b99 in benoitc/hackney https://github.com/benoitc/hackney/commit/8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
- CRLF / header injection via unvalidated `domain` and `path` options https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2
- OSV record EEF-CVE-2026-47069 https://osv.dev/vulnerability/EEF-CVE-2026-47069
Provider assertions
2EEF · cna
CRLF injection in cookie domain/path options in hackney
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4b4b372299b8e5975301d3225aad9cddb44ce568153be1f3435e85cc8505afbd
- Ingested
- 20 Nov 2026, 08:05:49 UTC
- Source record
- Official CVE record