Hex (Elixir/Erlang)Worst: High13 advisories

hackney: known vulnerabilities

hackney has 13 reviewed security advisories in the GitHub Advisory Database — 6 high, 4 moderate, 3 low. The most recent was published 2026-05-28. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the hackney versions running across your servers, containers and images, and ranks what to patch first.

How to fix hackney

Upgrade hackney to a release at or above the fixed version shown for each advisory below. For Hex (Elixir/Erlang):

Bump hackney to 4.0.1 in mix.exs, then mix deps.get

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (13)

Hackney: Per-chunk timeout with unbounded body accumulation enables slow-drip OOM High CWE-295 CWE-400 — Affected: from 2.0.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-28. GHSA-jq4m-q6p2-8gwc · CVE-2026-47077
Hackney has an infinite loop on non-token byte at start of an Alt-Svc entry High CWE-835 — Affected: from 2.0.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-6cp8-v795-jr2j · CVE-2026-47066
Duplicate Advisory: Hackney has an Allocation of Resources Without Limits or Throttling vulnerabilit High 7.5 CWE-400 — Affected: from 2.0.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-76v6-f83q-pxvh
Hackney vulnerable to atom-table exhaustion via unrecognized URL schemes High CWE-770 — Affected: from 2.0.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-9653-rcfr-5c62 · CVE-2026-47067
Hackney has CRLF / header injection in WebSocket upgrade request Moderate CWE-93 — Affected: from 2.0.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-f9vr-g2g2-x9fg · CVE-2026-47072
Hackney: `ssl:connect/2` post-handshake upgrade has no timeout High CWE-400 — Affected: from 0.10.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-gp9c-pm5m-5cxr · CVE-2026-47071
Hackney: Cross-origin Redirect Leaks Authorization, Cookie, and Request Body Moderate CWE-601 — Affected: from 3.1.1 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-h73q-4w9q-82h4 · CVE-2026-47070
Hackney has CR/LF injection in query parameter Moderate CWE-93 — Affected: before 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-j9wq-vxxc-94wf · CVE-2026-47075
Hackney has CRLF / header injection via unvalidated `domain` and `path` options Low CWE-93 — Affected: from 0.9.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-mp55-p8c9-rfw2 · CVE-2026-47069
Hackney has SSRF allowlist bypass in hackney_url:normalize/2 via percent-encoded host Moderate CWE-436 CWE-918 — Affected: from 0.13.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-pj7v-xfvx-wmjq · CVE-2026-47076
Hackney has unbounded buffer accumulation in WebSocket High CWE-400 — Affected: from 2.0.0 up to 4.0.1. Fixed in 4.0.1. Published 2026-05-25. GHSA-q8jg-fgj4-fphf · CVE-2026-47073
Hackney fails to properly release HTTP connections to the pool Low CWE-772 — Affected: before 1.24.0. Fixed in 1.24.0. Published 2025-05-28. GHSA-9fm9-hp7p-53mf · CVE-2025-3864
Server-side Request Forgery (SSRF) in hackney Low 6.5 CWE-918 — Affected: before 1.21.0. Fixed in 1.21.0. Published 2025-02-11. GHSA-vq52-99r9-h5pw · CVE-2025-1211

Find hackney across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.