CVE-2026-47069
Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in benoitc hackney allows HTTP Response Splitting.
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: geringes Risiko, dass Daten oder Systeme verändert werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| erlang | hackney | >= 0.9.0, < 4.0.1 | 4.0.1 |
Betroffene Produkte
| Hersteller | Produkt | Betroffene Versionen |
|---|---|---|
| Benoitc | Hackney | ab 0.9.0 vor 4.0.1 ab 602d5c7f2ea4acbc83ed75230655d935a0750ebc vor 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 |
| Hackney | Hackney | ab 602d5c7f2ea4acbc83ed75230655d935a0750ebc vor 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 ab 0.9.0 vor 4.0.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-mp55-p8c9-rfw2
- https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2
- https://nvd.nist.gov/vuln/detail/CVE-2026-47069
- https://github.com/benoitc/hackney/commit/8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
- https://cna.erlef.org/cves/CVE-2026-47069.html
- https://osv.dev/vulnerability/EEF-CVE-2026-47069
- https://github.com/benoitc/hackney/commit/602d5c7f2ea4acbc83ed75230655d935a0750ebc