CVE-2026-47072
CRLF injection in WebSocket upgrade request in hackney
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.542% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N
Assessment source · checked 2026-11-19T12:58:40.444Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:40.444Z | CVE Program |
| epss | verified | 2026-11-19T16:04:51.377Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:53.275Z | OSV |
| affected | verified | 2026-11-19T12:58:40.444Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:40.444Z | CVE Program |
Affected versions and configuration
benoitc hackney; modules: hackney_ws; default status: unaffected: 2.0.0 to < 4.0.1 [affected; scheme: semver] benoitc hackney; modules: hackney_ws; default status: unaffected: 690cecaf236fba49526da404a5bc889a24367a3e to < 52310ca807e7b48441ba0e9129171f535313fdd1 [affected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/benoitc/hackney",
"vendor": "benoitc",
"modules": [
"hackney_ws"
],
"product": "hackney",
"versions": [
{
"status": "affected",
"version": "2.0.0",
"lessThan": "4.0.1",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/hackney",
"packageName": "hackney",
"programFiles": [
"src/hackney_ws.erl"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "hackney_ws:do_handshake/1"
},
{
"name": "hackney_ws:init/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/benoitc/hackney",
"vendor": "benoitc",
"modules": [
"hackney_ws"
],
"product": "hackney",
"versions": [
{
"status": "affected",
"version": "690cecaf236fba49526da404a5bc889a24367a3e",
"lessThan": "52310ca807e7b48441ba0e9129171f535313fdd1",
"versionType": "git"
}
],
"packageURL": "pkg:github/benoitc/hackney",
"packageName": "benoitc/hackney",
"programFiles": [
"src/hackney_ws.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "hackney_ws:do_handshake/1"
},
{
"name": "hackney_ws:init/1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-47072",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-05-26T15:46:12.092004Z"
}
}
}
],
"references": [
{
"url": "https://github.com/benoitc/hackney/security/advisories/GHSA-f9vr-g2g2-x9fg",
"tags": [
"exploit"
]
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-05-26T15:46:14.885Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-47072",
"aliases": [
"CVE-2026-47072",
"GHSA-f9vr-g2g2-x9fg"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "4.0.1"
}
]
}
],
"package": {
"name": "hackney",
"purl": "pkg:hex/hackney",
"ecosystem": "Hex"
},
"versions": [
"2.0.0",
"2.0.1",
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.1.0",
"3.1.1",
"3.1.2",
"3.2.0",
"3.2.1",
"4.0.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-47072.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/benoitc/hackney/security/advisories/GHSA-f9vr-g2g2-x9fg",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-47072.html",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/commit/52310ca807e7b48441ba0e9129171f535313fdd1",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/hackney",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/benoitc/hackney",
"type": "GIT",
"events": [
{
"introduced": "690cecaf236fba49526da404a5bc889a24367a3e"
},
{
"fixed": "52310ca807e7b48441ba0e9129171f535313fdd1"
}
]
}
],
"versions": [],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-47072.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-93"
],
"capec_ids": [
"CAPEC-33"
]
}
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-f9vr-g2g2-x9fg",
"aliases": [
"CVE-2026-47072",
"EEF-CVE-2026-47072"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "4.0.1"
}
]
}
],
"package": {
"name": "hackney",
"purl": "pkg:hex/hackney",
"ecosystem": "Hex"
},
"versions": [
"2.0.0",
"2.0.1",
"3.0.0",
"3.0.1",
"3.0.2",
"3.0.3",
"3.1.0",
"3.1.1",
"3.1.2",
"3.2.0",
"3.2.1",
"4.0.0"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-f9vr-g2g2-x9fg/GHSA-f9vr-g2g2-x9fg.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/benoitc/hackney/security/advisories/GHSA-f9vr-g2g2-x9fg",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47072",
"type": "ADVISORY"
},
{
"url": "https://github.com/benoitc/hackney/commit/52310ca807e7b48441ba0e9129171f535313fdd1",
"type": "WEB"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-47072.html",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney",
"type": "PACKAGE"
},
{
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-47072",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-93"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-05-25T15:16:22Z",
"github_reviewed_at": "2026-06-26T21:59:44Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | hackney | Not a distribution channel | 4.0.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:53.275ZArchived source JSON
Source publication: 2026-05-25T14:00:47.852Z
Source modification: 2026-07-30T18:22:06.987ZDocument fingerprint
d85b75b9740b08bb66f3cdb23c0e66c2204170fc5c224466d45fabf77c47aeab - OSVConsulted: 2026-11-19T12:52:53.275ZArchived source JSON
Source publication: 2026-06-26T21:59:44.000Z
Source modification: 2026-06-26T22:15:08.704ZDocument fingerprint
d85b75b9740b08bb66f3cdb23c0e66c2204170fc5c224466d45fabf77c47aeab - CVE ProgramConsulted: 2026-11-19T12:58:40.444ZArchived source JSON
Source publication: 2026-05-25T14:00:47.852Z
Source modification: 2026-05-27T15:41:24.863ZDocument fingerprint
8bbd8f841ea7511dc4ca479973c2806a953a5c0b30b0ca39ba131395c4ab5118 - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:51.377ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
314533c6cad7257b55626d2ae0cd98a6c49376abfa725a18eb65ebef4059364a
Official status history
- UNKNOWN → PUBLISHED · · evidence