CVE-2026-47075: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in benoitc hackney
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.13.1 before 4.0.1.
AI Analysis
Technical Summary
The vulnerability arises because hackney does not properly percent-encode CR (\r) and LF (\n) characters in the URL query component before constructing the HTTP/1.1 request target. According to RFC 3986 Section 3.4, characters outside the defined grammar must be percent-encoded, but hackney_url:make_url/3 passes the query binary directly without validation or escaping. This allows an attacker who can control the URL to inject raw CRLF sequences, enabling HTTP request splitting and arbitrary HTTP header injection. The affected versions are from 0.13.1 up to but not including 4.0.1.
Potential Impact
An attacker able to control the URL query component can inject CRLF sequences into HTTP requests, potentially allowing HTTP request splitting attacks. This can lead to injection of arbitrary HTTP headers or manipulation of the HTTP request structure. The CVSS 4.0 score is 6.8 (medium severity), indicating a significant but not critical impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid passing untrusted input directly into the URL query component in hackney. Implement input validation or percent-encoding of CR and LF characters before passing URLs to hackney to mitigate injection risks.
CVE-2026-47075: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in benoitc hackney
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.13.1 before 4.0.1.
CVSS v4.0
Score 6.8medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because hackney does not properly percent-encode CR (\r) and LF (\n) characters in the URL query component before constructing the HTTP/1.1 request target. According to RFC 3986 Section 3.4, characters outside the defined grammar must be percent-encoded, but hackney_url:make_url/3 passes the query binary directly without validation or escaping. This allows an attacker who can control the URL to inject raw CRLF sequences, enabling HTTP request splitting and arbitrary HTTP header injection. The affected versions are from 0.13.1 up to but not including 4.0.1.
Potential Impact
An attacker able to control the URL query component can inject CRLF sequences into HTTP requests, potentially allowing HTTP request splitting attacks. This can lead to injection of arbitrary HTTP headers or manipulation of the HTTP request structure. The CVSS 4.0 score is 6.8 (medium severity), indicating a significant but not critical impact. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch is currently documented. Until a fix is available, avoid passing untrusted input directly into the URL query component in hackney. Implement input validation or percent-encoding of CR and LF characters before passing URLs to hackney to mitigate injection risks.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-18T17:28:08.322Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a149bd3a5ae1af1aad77333
Added to database: 05/25/2026, 18:58:27 UTC
Last enriched: 07/24/2026, 21:35:13 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 88
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.