QSearchQSearch

CVE-2026-47072

7.5 HIGH

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in benoitc hackney allows HTTP Request/Response Splitting

Published: 2026-05-25 · Last updated: 2026-05-28

Severity and scoring

CVSS
7.5 HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CWE
CWE-93

Affected products

VendorProduct
benoitchackney

Description

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in benoitc hackney allows HTTP Request/Response Splitting. The WebSocket upgrade code in src/hackney_ws.erl copies the host, path, headers (ExtraHeaders), and protocols options from the caller-supplied opts map into the internal #ws_data{} record in init/1 and then splices them verbatim into the raw HTTP/1.1 upgrade request by binary concatenation in do_handshake/1. No CRLF or NUL stripping is performed at any of these four injection sites. An attacker who controls any of these options — for example by forwarding URL components or header values from untrusted input into hackney_ws:start_link/1 — can inject arbitrary HTTP headers into the outbound WebSocket upgrade request, leading to header injection, credential spoofing toward the upstream server, log and cache poisoning, or request smuggling via intermediary proxies. This issue affects hackney: from 2.0.0 before 4.0.1.

Source: NVD

References

Related CVEs

Same vendor

  • CVE-2026-47077 Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding (7.5 HIGH)
  • CVE-2026-47076 Interpretation Conflict vulnerability in benoitc hackney allows Server Side Request Forgery (6.5 MEDIUM)
  • CVE-2026-47075 Improper Neutralization of CRLF Sequences vulnerability in benoitc hackney allows HTTP Request Splitting (7.5 HIGH)
  • CVE-2026-47073 Allocation of Resources Without Limits or Throttling vulnerability in benoitc hackney allows Flooding (7.5 HIGH)
  • CVE-2026-47071 Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding (7.5 HIGH)

Same CWE

  • CVE-2026-49214 guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP (5.3 MEDIUM)
  • CVE-2026-50639 Metrics::Any::Adapter::SignalFx versions before 0.04 for Perl does not protect against metric injections (6.5 MEDIUM)
  • CVE-2026-50638 Metrics::Any::Adapter::DogStatsd versions before 0.04 for Perl does not protect against metric injections (9.1 CRITICAL)
  • CVE-2026-50637 Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections (8.2 HIGH)
  • CVE-2026-49756 Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in wojtekmach Req allows multipart parameter smuggling via att...