# CVE-2026-47069: CRLF injection in cookie domain/path options in hackney

- Severity: Low 2.1 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-25T14:00:39.394Z
- Modified: 2026-11-25T17:23:12.749Z
- Also known as: GHSA-mp55-p8c9-rfw2, EEF-CVE-2026-47069
- Weaknesses: CWE-93
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- hackney: from 0.9.0 before 4.0.1
- benoitc/hackney: from 602d5c7f2ea4acbc83ed75230655d935a0750ebc before 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
- hackney (Hex): from 0.9.0 before 4.0.1
- https://github.com/benoitc/hackney: from 602d5c7f2ea4acbc83ed75230655d935a0750ebc before 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
- benoitc hackney: from 0.9.0 before 4.0.1

## Every score

- EEF: CVSS:4.0 2.1 Low `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`
- GitHub: CVSS:4.0 Low `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2> (exploit, advisory, patch, related, vendor-advisory, web)
- <https://cna.erlef.org/cves/CVE-2026-47069.html> (patch, related, third-party-advisory, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-47069> (patch, related, third-party-advisory, web)
- <https://github.com/benoitc/hackney/commit/602d5c7f2ea4acbc83ed75230655d935a0750ebc> (related, web)
- <https://github.com/benoitc/hackney/commit/8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47069> (advisory)
- <https://github.com/benoitc/hackney> (package)
- <https://hex.pm/packages/hackney> (package)

## Sources

- CVE List: [CVE-2026-47069](https://www.cve.org/CVERecord?id=CVE-2026-47069), CVE Terms of Use, modified 2026-11-20
- GitHub Advisory Database: [GHSA-mp55-p8c9-rfw2](https://github.com/advisories/GHSA-mp55-p8c9-rfw2), CC-BY-4.0, modified 2026-06-26
- Erlang Ecosystem Foundation: [EEF-CVE-2026-47069](https://osv.dev/vulnerability/EEF-CVE-2026-47069), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-47069](https://nvd.nist.gov/vuln/detail/CVE-2026-47069), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-47069 · Whole record: https://cve.day/CVE-2026-47069.json · Rebuilt by cve.day 2026-11-25T22:59:22.273Z
