{"id":"CVE-2026-47075","published":"2026-05-25T14:00:45Z","modified":"2026-11-20T08:18:15Z","title":"CR/LF injection in query parameter in hackney","vendor":"benoitc","product":"hackney","tier":"tail","description":{"text":"Improper Neutralization of CRLF Sequences vulnerability in benoitc hackney allows HTTP Request Splitting.\n\nhackney 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.\n\nThis issue affects hackney: from 0.1.0 before 4.0.1.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.8,"severity":"MEDIUM","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:A/VC:N/VI:H/VA:N/SC:N/SI:H/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00479,"percentile":0.42185,"provenance":"source"},"cwes":[{"id":"CWE-93","name":"Improper Neutralization of CRLF Sequences"}],"references":[{"url":"https://github.com/benoitc/hackney/security/advisories/GHSA-j9wq-vxxc-94wf","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2026-47075.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-47075","tags":["related"]},{"url":"https://github.com/benoitc/hackney/commit/8bb1a359a81ae58567c84f8d24564e9742e6f2bd","tags":["related"]},{"url":"https://github.com/benoitc/hackney/commit/ca73dd0aba0ed557449c18288bf07241671a43c9","tags":["patch"]}],"priority":{"score":13.2,"factors":[{"name":"EPSS percentile","points":8.44},{"name":"CVSS severity","points":4.76}]},"vendorSlug":"benoitc","affectedVersions":[{"vendor":"benoitc","product":"hackney","versions":[">= 0.1.0, < 4.0.1"]},{"vendor":"benoitc","product":"hackney","versions":[">= 8bb1a359a81ae58567c84f8d24564e9742e6f2bd, < ca73dd0aba0ed557449c18288bf07241671a43c9"]}],"capec":[{"id":"CAPEC-105","name":"HTTP Request Splitting"}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-26T15:50:04.477395Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Hex","package":"hackney","vulnerableRanges":["<4.0.1"],"patched":["4.0.1"],"from":["GHSA-j9wq-vxxc-94wf"],"provenance":"source"}],"summary":{"text":"The flaw is a CR/LF injection in the query parameter handling of hackney, an Erlang HTTP client from benoitc: its hackney_url:make_url/3 function passes the URL query component directly into the HTTP/1.1 request target without percent-encoding carriage return or line feed characters. An attacker who can control all or part of a URL passed to hackney, which requires local access and some user interaction, can inject raw CRLF sequences into the query string to inject arbitrary HTTP headers or split the request.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:44:31Z"},"euvd":{"id":"EUVD-2026-31687","exploited":false,"provenance":"source"}}