Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

CVE-2026-47069: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in benoitc hackney

0
Low
VulnerabilityCVE-2026-47069cvecve-2026-47069cwe-93
Published: 05/25/2026 (05/25/2026, 14:00:39 UTC)
Source: CVE Database V5
Vendor/Project: benoitc
Product: hackney

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.

CVSS v4.0

Score 2.1low

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
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

Affected software

hackney
pkg:hex/hackney
Affected versions
=0.9.0<4.0.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/01/2026, 20:34:59 UTC

Technical Analysis

The hackney_cookie:setcookie/3 function in benoitc hackney improperly neutralizes CRLF sequences in the domain and path options of cookies. While it validates the Name and Value arguments, it concatenates domain and path options verbatim into the HTTP response without validation. An attacker who can control the Host header or request path that is forwarded as the cookie domain or path can inject CRLF sequences, enabling HTTP response splitting and injection of arbitrary Set-Cookie headers. This affects hackney versions from 0.9.0 before 4.0.1.

Potential Impact

An attacker able to supply the domain or path options for cookies can inject CRLF sequences into HTTP responses, potentially causing HTTP response splitting. This may allow injection of arbitrary Set-Cookie headers, which could lead to session fixation or other HTTP header injection issues. The overall severity is low, and no known exploits have been reported.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, 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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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: 6a149bd3a5ae1af1aad77315

Added to database: 05/25/2026, 18:58:27 UTC

Last enriched: 06/01/2026, 20:34:59 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 120

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses