Skip to main content
VulnerabilityPublished Updated

CVE-2026-47069: benoitc hackney · CRLF Injection

Affects benoitc hackneySource CVE Database V5

0
Compare

Not known to be exploited · CVSS 2.1 Low : upgrade to 4.0.1 when convenient.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
2.1Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.0.1, 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 May 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Upgrade hackney to 4.0.1; hackney to 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540.

Affected software

ProductAffectedFixed in
benoitchackneyAffected
  • >=0.9.0 <4.0.1
Fixed in
  • 4.0.1
benoitchackneyAffected
  • ≥ 602d5c7f2ea4acbc83ed75230655d935a0750ebc, < 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
Fixed in
  • 8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540
Hexhackneypkg:hex/hackneyOther threatsAffected
  • <4.0.1
Fixed in
  • 4.0.1
Hexhackneypkg:hex/hackneyOther threatsAffected
  • >=0.9.0 <4.0.1
Fixed in
  • 4.0.1

CPE configurations (1)

  • cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using untrusted input for cookie domain and path options in hackney. Validate or sanitize these inputs before passing them to the setcookie/3 function to prevent CRLF injection.

Description

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.

References

Community reviews

Loading reviews…