CVE-2026-47071Benoitc Hackney
High 8.2 No auth needed
Follow: this CVE · Benoitc · Benoitc Hackney We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- May 25, 2026
- Updated
- Nov 20, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-400
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.8.1 before 4.0.1.
What to do
- Apply the vendor's security update for Hackney.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Hex | hackney |
≥ 0.8.1 < 4.0.1 |
4.0.1 |
— |
| Hex | hackney |
≥ 0.10.0 < 4.0.1 |
4.0.1 |
— |
Per OSV / GitHub Advisories (EEF-CVE-2026-47071, GHSA-gp9c-pm5m-5cxr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| benoitc | hackney | ≥ 0.10.0 < 4.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- cna.erlef.org Patch Third Party Advisory
- github.com
- github.com Patch
- github.com Exploit Patch Vendor Advisory
- osv.dev Patch Third Party Advisory