CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-47072

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 6.9 · medium

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 EEF
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
Assessment source · checked 2026-11-19T12:58:40.444Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:28:52.703ZCISA KEV
cvssverified2026-11-19T12:58:40.444ZCVE Program
epssverified2026-11-19T16:04:51.377ZFIRST EPSS
patchesverified2026-11-19T12:52:53.275ZOSV
affectedverified2026-11-19T12:58:40.444ZCVE Program
lifecycleverified2026-11-19T12:58:40.444ZCVE 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 JSON
OSV · 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packagehackneyNot a distribution channel4.0.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history