Home / benoitc / hackney / CVE-2026-113440
CVE-2026-113440: is it exploited, and which versions of benoitc hackney are affected and fixed?
CVE-2026-113440 is a credentials insufficiently protected vulnerability in benoitc hackney. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:39 UTC). Affected: hackney from 2.0.0 before 4.9.0 (CVE record by EEF). Fixed in 4.9.0 (CVE record by EEF). Severity: Medium (6.0, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:39 UTC, CVE record November 19, 2026, 08:24 UTC and NVD November 19, 2026, 07:05 UTC.
What is CVE-2026-113440?
HTTP/1.1 and HTTP/2 redirects resend basic_auth and cookie to a different scheme or port in hackney
Insufficiently Protected Credentials vulnerability in hackney in benoitc hackney allows a redirecting server to obtain the basic_auth and cookie credentials of a request via a same-host redirect to another scheme or port. With follow_redirect enabled, hackney:follow_redirect/10 in src/hackney.erl reissues the request to the Location target after hackney:maybe_strip_auth_on_redirect/3, which compared only the hostname of the current and the redirect URL. A redirect from https to http on the same host resent the Authorization and Cookie headers in cleartext, where an on-path attacker can read them, and a redirect to another port on the same host handed them to a different service. location_trusted forwards credentials to any target by design and is unchanged. This issue affects hackney: from 2.0.0 before 4.9.0.
From the CVE record by EEF, last updated November 19, 2026, 08:07 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| benoitc | hackney | from 2.0.0 before 4.9.0 | 4.9.0 |
| benoitc | hackney benoitc/hackney | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-113440?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.0 | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-113440 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, November 2, 2026)
- EPSS
- 0.41% probability of exploitation activity in the next 30 days, percentile 37.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-522 Insufficiently Protected Credentials
Is there a workaround? (from the CVE record)
Disable follow_redirect and handle the Location header in the application, or pass the credentials as explicit Authorization and Cookie request headers instead of the basic_auth and cookie options. hackney:follow_redirect/10 issues the redirected request with an empty header list, so explicit headers reach the first server only.
Where are the vendor advisories and references?
- hackney 4.9.0 release notes vendor-advisory, related
- EEF CNA record for CVE-2026-113440 related
- OSV record EEF-CVE-2026-113440 related
- Strip basic_auth and cookie on redirects that change scheme or port (benoitc/hackney#979) related
- Introducing commit 8f94455 in benoitc/hackney related
- Fix commit 6548384 in benoitc/hackney patch
Who found and reported it?
- Martin Karrer (finder)
- Jonatan Männchen / EEF (coordinator)
- Benoit Chesneau (remediation developer)
- Martin Karrer (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 26, 2026
- Published
- October 26, 2026, 13:49 UTC
- CVE record updated
- November 19, 2026, 08:07 UTC by EEF
- NVD
- Awaiting Analysis, last modified November 2, 2026, 22:17 UTC
- Last checked
- CVE list November 19, 2026, 08:24 UTC; NVD November 19, 2026, 07:05 UTC; KEV December 3, 2026, 19:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hackney?
- Oct 26, 2026CVE-2026-97200 benoitc hackney: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 26, 2026CVE-2026-115693 benoitc hackney: improper certificate validation
- Oct 26, 2026CVE-2026-115700 benoitc hackney: interpretation Conflict
- Oct 26, 2026CVE-2026-112880 benoitc hackney: HTTP response splitting
- May 25, 2026CVE-2026-47073 benoitc hackney: denial of service (uncontrolled resource consumption)
- May 25, 2026CVE-2026-47067 benoitc hackney: denial of service (resources allocated without limits)
- May 25, 2026CVE-2026-47072 benoitc hackney: improper Neutralization of CRLF Sequences
- May 25, 2026CVE-2026-47076 benoitc hackney: interpretation Conflict
Questions about CVE-2026-113440
Is CVE-2026-113440 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:39 UTC. FIRST's EPSS gives it a 0.41% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of benoitc hackney are affected by CVE-2026-113440?
hackney from 2.0.0 before 4.9.0, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-113440?
4.9.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-113440?
Medium (6.0, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-113440?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.