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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.313% · 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-19T18:36:01.564Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:56.242Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T18:36:01.564Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:56.242Z | CVE Program |
| epss | verified | 2026-11-19T18:27:14.840Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:53.275Z | OSV |
| affected | verified | 2026-11-19T12:57:56.242Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:56.242Z | CVE Program |
Affected versions and configuration
benoitc hackney; modules: hackney; default status: unaffected: 2.0.0 to < 4.9.0 [affected; scheme: semver] benoitc hackney; modules: hackney; default status: unaffected: 8f944559bdb83da60b5c06f6cf6d842591278364 to < 6548384b22ea196023a1963e2967d5715b6d9564 [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"
],
"product": "hackney",
"versions": [
{
"status": "affected",
"version": "2.0.0",
"lessThan": "4.9.0",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/hackney",
"packageName": "hackney",
"programFiles": [
"src/hackney.erl"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "hackney:request/5"
},
{
"name": "hackney:follow_redirect/10"
},
{
"name": "hackney:maybe_strip_auth_on_redirect/3"
}
]
},
{
"cpes": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/benoitc/hackney",
"vendor": "benoitc",
"modules": [
"hackney"
],
"product": "hackney",
"versions": [
{
"status": "affected",
"version": "8f944559bdb83da60b5c06f6cf6d842591278364",
"lessThan": "6548384b22ea196023a1963e2967d5715b6d9564",
"versionType": "git"
}
],
"packageURL": "pkg:github/benoitc/hackney",
"packageName": "benoitc/hackney",
"programFiles": [
"src/hackney.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "hackney:request/5"
},
{
"name": "hackney:follow_redirect/10"
},
{
"name": "hackney:maybe_strip_auth_on_redirect/3"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-113440",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-11-02T21:11:36.228424Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-02T21:11:47.935Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-113440",
"aliases": [
"CVE-2026-113440"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "4.9.0"
}
]
}
],
"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",
"4.0.1",
"4.0.2",
"4.0.3",
"4.1.0",
"4.2.0",
"4.2.1",
"4.2.2",
"4.2.3",
"4.3.0",
"4.4.0",
"4.4.1",
"4.4.2",
"4.4.3",
"4.4.5",
"4.5.0",
"4.5.1",
"4.5.2",
"4.6.0",
"4.6.1",
"4.7.0",
"4.7.1",
"4.7.2",
"4.7.3",
"4.7.4",
"4.8.0",
"4.8.1",
"4.8.2",
"4.8.3",
"4.8.4",
"4.8.5",
"4.8.6",
"4.8.7"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-113440.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/benoitc/hackney/releases/tag/4.9.0",
"type": "ADVISORY"
},
{
"url": "https://cna.erlef.org/cves/CVE-2026-113440.html",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/pull/979",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/commit/8f944559bdb83da60b5c06f6cf6d842591278364",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/commit/6548384b22ea196023a1963e2967d5715b6d9564",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/hackney",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/benoitc/hackney",
"type": "GIT",
"events": [
{
"introduced": "8f944559bdb83da60b5c06f6cf6d842591278364"
},
{
"fixed": "6548384b22ea196023a1963e2967d5715b6d9564"
}
]
}
],
"versions": [
"4.8.6",
"4.8.5",
"4.8.4",
"4.8.3",
"4.8.2",
"4.8.1",
"4.8.0",
"4.7.4",
"4.7.3",
"4.7.2",
"4.7.1",
"4.7.0",
"4.6.1",
"4.6.0",
"4.5.2",
"4.5.1",
"4.5.0",
"4.4.5",
"4.4.4",
"4.4.3",
"4.4.2",
"4.4.1",
"4.4.0",
"4.3.0",
"4.2.3",
"4.2.2",
"4.2.1",
"4.2.0",
"4.1.0",
"4.0.3",
"4.0.2",
"4.0.1",
"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"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-113440.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-522"
],
"capec_ids": [
"CAPEC-102"
]
}
}Archived source JSONCorrection 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 type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | Hex / package | hackney | Not a distribution channel | 4.9.0 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:53.275ZArchived source JSON
Source publication: 2026-10-26T13:49:17.377Z
Source modification: 2026-11-19T08:15:37.954ZDocument fingerprint
d85b75b9740b08bb66f3cdb23c0e66c2204170fc5c224466d45fabf77c47aeab - CVE ProgramConsulted: 2026-11-19T12:57:56.242ZArchived source JSON
Source publication: 2026-10-26T13:49:17.377Z
Source modification: 2026-11-19T08:07:01.433ZDocument fingerprint
064c40191649e0088d1442f91fce89a67326f2833055b3bc936c76020ef9f59e - FIRST EPSSConsulted: 2026-11-19T18:27:14.840ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
b4066597276a246f1b28d2691b0944a52710d594508a6d735886c6a5cfbc89f7 - CISA KEVConsulted: 2026-11-19T18:36:01.564ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56
Official status history
- UNKNOWN → PUBLISHED · · evidence