CVE-2026-47069

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.
Configurations

Configuration 1 (hide)

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

History

20 Nov 2026, 08:18

Type Values Removed Values Added
References
  • () https://github.com/benoitc/hackney/commit/602d5c7f2ea4acbc83ed75230655d935a0750ebc -
Summary (en) 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. (en) 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.

24 Jul 2026, 10:10

Type Values Removed Values Added
Summary
  • (es) La vulnerabilidad de Neutralización Incorrecta de Secuencias CRLF ('Inyección CRLF') en benoitc hackney permite la División de Respuesta HTTP. La función hackney_cookie:setcookie/3 en src/hackney_cookie.erl valida los argumentos Name y Value contra CRLF y caracteres de control, pero concatena las opciones de dominio y ruta textualmente en la iolist de salida sin una verificación equivalente. Un atacante que controla cualquiera de las opciones - por ejemplo, al proporcionar un valor de encabezado Host reenviado como el dominio de la cookie, o una ruta de solicitud reenviada como la ruta de la cookie - puede inyectar una secuencia CRLF literal y encabezados Set-Cookie adicionales arbitrarios en la respuesta HTTP. Este problema afecta a hackney: desde 0.9.0 antes de 4.0.1.

17 Jun 2026, 10:54

Type Values Removed Values Added
References () https://cna.erlef.org/cves/CVE-2026-47069.html - Third Party Advisory, Patch () https://cna.erlef.org/cves/CVE-2026-47069.html - Patch, Third Party Advisory
References () https://osv.dev/vulnerability/EEF-CVE-2026-47069 - Third Party Advisory, Patch () https://osv.dev/vulnerability/EEF-CVE-2026-47069 - Patch, Third Party Advisory

27 May 2026, 13:53

Type Values Removed Values Added
References () https://cna.erlef.org/cves/CVE-2026-47069.html - () https://cna.erlef.org/cves/CVE-2026-47069.html - Third Party Advisory, Patch
References () https://github.com/benoitc/hackney/commit/8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 - () https://github.com/benoitc/hackney/commit/8e02b99c28aea1b3fa2ddc0e66f51fe5bb0ac540 - Patch
References () https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2 - () https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2 - Exploit, Patch, Vendor Advisory
References () https://osv.dev/vulnerability/EEF-CVE-2026-47069 - () https://osv.dev/vulnerability/EEF-CVE-2026-47069 - Third Party Advisory, Patch
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.3
CPE cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*
First Time Benoitc
Benoitc hackney

26 May 2026, 17:16

Type Values Removed Values Added
References () https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2 - () https://github.com/benoitc/hackney/security/advisories/GHSA-mp55-p8c9-rfw2 -

25 May 2026, 15:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-25 15:16

Updated : 2026-11-20 08:18


NVD link : CVE-2026-47069

Mitre link : CVE-2026-47069

CVE.ORG link : CVE-2026-47069


JSON object : View

Products Affected

benoitc

  • hackney
CWE
CWE-93

Improper Neutralization of CRLF Sequences ('CRLF Injection')