CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-47071

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.2 · high

SOCKS5 TLS upgrade ignores caller timeout in hackney

Uncontrolled Resource Consumption vulnerability in benoitc hackney allows Flooding. The SOCKS5 transport in src/hackney_socks5.erl correctly applies the caller-supplied timeout to the SOCKS5 negotiation phase, but then upgrades the connection to TLS using the two-argument form ssl:connect/2, which defaults to an infinite timeout. The Timeout value is in scope at the call site but is not forwarded. A hostile SOCKS5 proxy that completes the SOCKS5 handshake normally and then goes silent (or sends a partial TLS ServerHello and stalls) will cause the connecting process to block indefinitely, regardless of the connect_timeout or recv_timeout options supplied by the caller. This issue affects hackney: from 0.10.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.753% · 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-19T16:57:41.748Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.2 · published by EEF
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:40.392Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:57:41.748ZCISA KEV
cvssverified2026-11-19T12:58:40.392ZCVE Program
epssverified2026-11-19T16:04:51.377ZFIRST EPSS
patchesverified2026-11-19T12:52:53.275ZOSV
affectedverified2026-11-19T12:58:40.392ZCVE Program
lifecycleverified2026-11-19T12:58:40.392ZCVE Program

Affected versions and configuration

benoitc hackney; modules: hackney_socks5; default status: unaffected: 0.10.0 to < 4.0.1 [affected; scheme: semver] benoitc hackney; modules: hackney_socks5; default status: unaffected: 34cdbd1d20a282aacc286a89327465a3925b4c5d to < 5ccdab725c561a6f03d05a51f2d0664f98236dae [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_socks5"
      ],
      "product": "hackney",
      "versions": [
        {
          "status": "affected",
          "version": "0.10.0",
          "lessThan": "4.0.1",
          "versionType": "semver"
        }
      ],
      "packageURL": "pkg:hex/hackney",
      "packageName": "hackney",
      "programFiles": [
        "src/hackney_socks5.erl"
      ],
      "collectionURL": "https://repo.hex.pm",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "hackney_socks5:connect/4"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/benoitc/hackney",
      "vendor": "benoitc",
      "modules": [
        "hackney_socks5"
      ],
      "product": "hackney",
      "versions": [
        {
          "status": "affected",
          "version": "34cdbd1d20a282aacc286a89327465a3925b4c5d",
          "lessThan": "5ccdab725c561a6f03d05a51f2d0664f98236dae",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/benoitc/hackney",
      "packageName": "benoitc/hackney",
      "programFiles": [
        "src/hackney_socks5.erl"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "hackney_socks5:connect/4"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-47071",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "poc"
                },
                {
                  "Automatable": "yes"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-05-26T15:48:41.704626Z"
            }
          }
        }
      ],
      "references": [
        {
          "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr",
          "tags": [
            "exploit"
          ]
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-05-26T15:48:45.842Z"
      }
    }
  ]
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "EEF-CVE-2026-47071",
  "aliases": [
    "CVE-2026-47071",
    "GHSA-gp9c-pm5m-5cxr"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.10.0"
            },
            {
              "fixed": "4.0.1"
            }
          ]
        }
      ],
      "package": {
        "name": "hackney",
        "purl": "pkg:hex/hackney",
        "ecosystem": "Hex"
      },
      "versions": [
        "0.13.1",
        "0.14.0",
        "0.14.1",
        "0.14.2",
        "0.14.3",
        "0.15.0",
        "0.15.2",
        "1.0.1",
        "1.0.2",
        "1.0.5",
        "1.0.6",
        "1.1.0",
        "1.10.0",
        "1.10.1",
        "1.11.0",
        "1.12.0",
        "1.12.1",
        "1.13.0",
        "1.14.0",
        "1.14.2",
        "1.14.3",
        "1.15.0",
        "1.15.1",
        "1.15.2",
        "1.16.0",
        "1.17.0",
        "1.17.1",
        "1.17.2",
        "1.17.3",
        "1.17.4",
        "1.18.0",
        "1.18.1",
        "1.18.2",
        "1.19.0",
        "1.19.1",
        "1.2.0",
        "1.20.0",
        "1.20.1",
        "1.21.0",
        "1.22.0",
        "1.23.0",
        "1.24.0",
        "1.24.1",
        "1.25.0",
        "1.3.0",
        "1.3.1",
        "1.3.2",
        "1.4.0",
        "1.4.1",
        "1.4.10",
        "1.4.2",
        "1.4.3",
        "1.4.4",
        "1.4.5",
        "1.4.6",
        "1.4.7",
        "1.4.8",
        "1.5.0",
        "1.5.1",
        "1.5.2",
        "1.5.3",
        "1.5.4",
        "1.5.5",
        "1.5.6",
        "1.5.7",
        "1.6.0",
        "1.6.1",
        "1.6.2",
        "1.6.3",
        "1.6.4",
        "1.6.5",
        "1.6.6",
        "1.7.0",
        "1.7.1",
        "1.8.0",
        "1.8.2",
        "1.8.3",
        "1.8.4",
        "1.8.5",
        "1.8.6",
        "1.9.0",
        "2.0.0",
        "2.0.0-beta.1",
        "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-47071.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr",
      "type": "ADVISORY"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-47071.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dae",
      "type": "FIX"
    },
    {
      "url": "https://hex.pm/packages/hackney",
      "type": "PACKAGE"
    }
  ],
  "relatedGitRanges": [
    {
      "ranges": [
        {
          "repo": "https://github.com/benoitc/hackney",
          "type": "GIT",
          "events": [
            {
              "introduced": "34cdbd1d20a282aacc286a89327465a3925b4c5d"
            },
            {
              "fixed": "5ccdab725c561a6f03d05a51f2d0664f98236dae"
            }
          ]
        }
      ],
      "versions": [
        "4.0.0",
        "3.2.1",
        "3.2.0",
        "3.1.2",
        "3.1.1",
        "3.1.0",
        "3.0.3",
        "3.0.2",
        "3.0.1",
        "2.0.1",
        "2.0.0",
        "2.0.0-beta.1",
        "1.25.0",
        "1.24.1",
        "1.24.0",
        "1.23.0",
        "1.22.0",
        "1.21.0",
        "1.20.1",
        "1.20.0",
        "1.19.1",
        "1.19.0",
        "1.18.2",
        "1.18.1",
        "1.18.0",
        "1.17.4",
        "1.17.3",
        "1.17.2",
        "v1.17.0",
        "1.17.0",
        "1.17.1",
        "1.16.0",
        "0.16.0",
        "1.15.2",
        "1.15.1",
        "1.15.0",
        "1.14.3",
        "1.14.2",
        "1.14.0",
        "1.13.0",
        "1.12.1",
        "1.12.0",
        "1.11.0",
        "1.10.1",
        "1.10.0",
        "1.9.0",
        "1.8.6",
        "1.8.5",
        "1.8.4",
        "1.8.3",
        "1.8.2",
        "1.8.0",
        "1.7.1",
        "1.7.0",
        "1.6.6",
        "1.6.5",
        "1.6.4",
        "1.6.3",
        "1.6.2",
        "1.6.1",
        "1.6.0",
        "1.5.7",
        "1.5.6",
        "1.5.5",
        "1.5.4",
        "1.5.1",
        "1.5.0",
        "1.4.10",
        "1.4.9",
        "1.4.8",
        "1.4.7",
        "1.4.6",
        "1.4.5",
        "1.4.4",
        "1.4.3",
        "1.4.2",
        "1.4.1",
        "1.4.0",
        "1.3.2",
        "1.3.1",
        "1.3.0",
        "1.2.0",
        "1.1.0",
        "1.0.6",
        "1.0.5",
        "1.0.4",
        "1.0.3",
        "1.0.2",
        "1.0.1",
        "1.0.0",
        "0.15.2",
        "0.15.1",
        "0.15.0",
        "0.14.3",
        "0.14.2",
        "0.14.1",
        "0.14.0",
        "0.13.1",
        "0.13.0",
        "0.12.1",
        "0.12.0",
        "0.11.2",
        "0.11.1",
        "0.11.0",
        "0.10.1",
        "0.10.0",
        "0.9.1",
        "0.9.0",
        "0.8.3",
        "0.8.2",
        "0.8.1"
      ],
      "database_specific": {
        "source": "https://cna.erlef.org/osv/EEF-CVE-2026-47071.json"
      }
    }
  ],
  "database_specific": {
    "cpe_ids": [
      "cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
    ],
    "cwe_ids": [
      "CWE-400"
    ],
    "capec_ids": [
      "CAPEC-130"
    ]
  }
}
Archived source JSON
OSV · osv · full conditions
{
  "id": "GHSA-gp9c-pm5m-5cxr",
  "aliases": [
    "CVE-2026-47071",
    "EEF-CVE-2026-47071"
  ],
  "affected": [
    {
      "ranges": [
        {
          "type": "SEMVER",
          "events": [
            {
              "introduced": "0.10.0"
            },
            {
              "fixed": "4.0.1"
            }
          ]
        }
      ],
      "package": {
        "name": "hackney",
        "purl": "pkg:hex/hackney",
        "ecosystem": "Hex"
      },
      "versions": [
        "0.13.1",
        "0.14.0",
        "0.14.1",
        "0.14.2",
        "0.14.3",
        "0.15.0",
        "0.15.2",
        "1.0.1",
        "1.0.2",
        "1.0.5",
        "1.0.6",
        "1.1.0",
        "1.10.0",
        "1.10.1",
        "1.11.0",
        "1.12.0",
        "1.12.1",
        "1.13.0",
        "1.14.0",
        "1.14.2",
        "1.14.3",
        "1.15.0",
        "1.15.1",
        "1.15.2",
        "1.16.0",
        "1.17.0",
        "1.17.1",
        "1.17.2",
        "1.17.3",
        "1.17.4",
        "1.18.0",
        "1.18.1",
        "1.18.2",
        "1.19.0",
        "1.19.1",
        "1.2.0",
        "1.20.0",
        "1.20.1",
        "1.21.0",
        "1.22.0",
        "1.23.0",
        "1.24.0",
        "1.24.1",
        "1.25.0",
        "1.3.0",
        "1.3.1",
        "1.3.2",
        "1.4.0",
        "1.4.1",
        "1.4.10",
        "1.4.2",
        "1.4.3",
        "1.4.4",
        "1.4.5",
        "1.4.6",
        "1.4.7",
        "1.4.8",
        "1.5.0",
        "1.5.1",
        "1.5.2",
        "1.5.3",
        "1.5.4",
        "1.5.5",
        "1.5.6",
        "1.5.7",
        "1.6.0",
        "1.6.1",
        "1.6.2",
        "1.6.3",
        "1.6.4",
        "1.6.5",
        "1.6.6",
        "1.7.0",
        "1.7.1",
        "1.8.0",
        "1.8.2",
        "1.8.3",
        "1.8.4",
        "1.8.5",
        "1.8.6",
        "1.9.0",
        "2.0.0",
        "2.0.0-beta.1",
        "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-gp9c-pm5m-5cxr/GHSA-gp9c-pm5m-5cxr.json"
      }
    }
  ],
  "severity": [
    {
      "type": "CVSS_V4",
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
    }
  ],
  "upstream": [],
  "withdrawn": null,
  "references": [
    {
      "url": "https://github.com/benoitc/hackney/security/advisories/GHSA-gp9c-pm5m-5cxr",
      "type": "WEB"
    },
    {
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-47071",
      "type": "ADVISORY"
    },
    {
      "url": "https://github.com/benoitc/hackney/commit/5ccdab725c561a6f03d05a51f2d0664f98236dae",
      "type": "WEB"
    },
    {
      "url": "https://cna.erlef.org/cves/CVE-2026-47071.html",
      "type": "WEB"
    },
    {
      "url": "https://github.com/benoitc/hackney",
      "type": "PACKAGE"
    },
    {
      "url": "https://osv.dev/vulnerability/EEF-CVE-2026-47071",
      "type": "WEB"
    }
  ],
  "relatedGitRanges": [],
  "database_specific": {
    "cwe_ids": [
      "CWE-400"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "nvd_published_at": "2026-05-25T15:16:22Z",
    "github_reviewed_at": "2026-06-26T21:53:50Z"
  }
}
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