CVE-2026-47075 CR/LF injection in query parameter in hackney
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
Description
Improper Neutralization of CRLF Sequences vulnerability in benoitc hackney allows HTTP Request Splitting.
hackney does not percent-encode carriage return (\r) or line feed (\n) characters in the URL query component before constructing the HTTP/1.1 request target. Characters outside the grammar defined in RFC 3986 Section 3.4 must be percent-encoded, but hackney_url:make_url/3 passes the query binary directly without validation or escaping. An attacker who can control all or part of a URL passed to hackney can inject raw CRLF sequences into the query string, which are then sent as HTTP line breaks in the request target. This enables injection of arbitrary HTTP headers or splitting of the HTTP request.
This issue affects hackney: from 0.1.0 before 4.0.1.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| benoitc hackney | < 4.0.1; >= 0.1.0, < 4.0.1; >= 8bb1a359a81ae58567c84f8d24564e9742e6f2bd, < ca73dd0aba0ed557449c18288bf07241671a43c9 | 4.0.1, ca73dd0aba0ed557449c18288bf07241671a43c9 | Fixed |
| hex hackney(Hex) | < 4.0.1 | 4.0.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hex hackney(Hex) | < 4.0.1 | 4.0.1 |
| benoitc hackney | >= 0.1.0, < 4.0.1 | 4.0.1 |
| benoitc hackney | >= 8bb1a359a81ae58567c84f8d24564e9742e6f2bd, < ca73dd0aba0ed557449c18288bf07241671a43c9 | ca73dd0aba0ed557449c18288bf07241671a43c9 |
| benoitc hackney | < 4.0.1 | 4.0.1 |
References
- CR/LF injection in query parameter exploit patch related vendor-advisory
- EEF CNA record for CVE-2026-47075 patch related third-party-advisory
- OSV record EEF-CVE-2026-47075 patch related third-party-advisory
- Fix commit ca73dd0 in benoitc/hackney patch
- nvd.nist.gov third-party-advisory
- github.com
- Introducing commit 8bb1a35 in benoitc/hackney related
- ENISA EUVD EUVD-2026-31687 third-party-advisory