CVE-2026-115693
Custom cacerts or cacertfile do not restrict trust to the pinned CA in hackney
Improper Certificate Validation vulnerability in hackney_ssl in benoitc hackney allows an on-path attacker to impersonate a server pinned to a private certificate authority via a certificate chain that ends in a publicly trusted root. hackney adds {partial_chain, fun hackney_ssl:partial_chain/1} to every verify_peer configuration. The callback returns any certificate in the peer chain whose public key matches a root in the bundled certifi store as the trust anchor, and OTP honours that callback over the configured cacerts. hackney_ssl:merge_ssl_opts/3 kept the callback when the caller replaced the trust store with cacerts or cacertfile in ssl_options, so a connection pinned to a private CA still accepted any chain that carried a publicly trusted root. The hostname check still applies, so the attacker needs a publicly trusted certificate for the pinned hostname. This issue affects hackney: from 1.24.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.267% · 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-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 9.1 · published by EEFCVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:57:58.940Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:57:58.940Z | CVE Program |
| epss | verified | 2026-11-19T16:04:44.695Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:53.275Z | OSV |
| affected | verified | 2026-11-19T12:57:58.940Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:57:58.940Z | CVE Program |
Affected versions and configuration
benoitc hackney; modules: hackney_ssl; default status: unaffected: 1.24.0 to < 4.9.0 [affected; scheme: semver] benoitc hackney; modules: hackney_ssl; default status: unaffected: d8a9afcf5c3849904274e2eba1df56c63d1a1a0c to < 915eb5737e9c489d8fc22eec8cdae30e9b027be4 [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_ssl"
],
"product": "hackney",
"versions": [
{
"status": "affected",
"version": "1.24.0",
"lessThan": "4.9.0",
"versionType": "semver"
}
],
"packageURL": "pkg:hex/hackney",
"packageName": "hackney",
"programFiles": [
"src/hackney_ssl.erl"
],
"collectionURL": "https://repo.hex.pm",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "hackney_ssl:ssl_opts/2"
},
{
"name": "hackney_ssl:merge_ssl_opts/3"
},
{
"name": "hackney_ssl:partial_chain/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/benoitc/hackney",
"vendor": "benoitc",
"modules": [
"hackney_ssl"
],
"product": "hackney",
"versions": [
{
"status": "affected",
"version": "d8a9afcf5c3849904274e2eba1df56c63d1a1a0c",
"lessThan": "915eb5737e9c489d8fc22eec8cdae30e9b027be4",
"versionType": "git"
}
],
"packageURL": "pkg:github/benoitc/hackney",
"packageName": "benoitc/hackney",
"programFiles": [
"src/hackney_ssl.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "hackney_ssl:ssl_opts/2"
},
{
"name": "hackney_ssl:merge_ssl_opts/3"
},
{
"name": "hackney_ssl:partial_chain/1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-115693",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-11-02T18:28:45.483074Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-11-02T19:43:07.244Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "EEF-CVE-2026-115693",
"aliases": [
"CVE-2026-115693"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "1.24.0"
},
{
"fixed": "4.9.0"
}
]
}
],
"package": {
"name": "hackney",
"purl": "pkg:hex/hackney",
"ecosystem": "Hex"
},
"versions": [
"1.24.0",
"1.24.1",
"1.25.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",
"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-115693.json"
}
}
],
"severity": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/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-115693.html",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/pull/978",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/commit/d8a9afcf5c3849904274e2eba1df56c63d1a1a0c",
"type": "WEB"
},
{
"url": "https://github.com/benoitc/hackney/commit/915eb5737e9c489d8fc22eec8cdae30e9b027be4",
"type": "FIX"
},
{
"url": "https://hex.pm/packages/hackney",
"type": "PACKAGE"
}
],
"relatedGitRanges": [
{
"ranges": [
{
"repo": "https://github.com/benoitc/hackney",
"type": "GIT",
"events": [
{
"introduced": "d8a9afcf5c3849904274e2eba1df56c63d1a1a0c"
},
{
"fixed": "915eb5737e9c489d8fc22eec8cdae30e9b027be4"
}
]
}
],
"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",
"2.0.0-beta.1",
"1.25.0",
"1.24.1",
"1.24.0"
],
"database_specific": {
"source": "https://cna.erlef.org/osv/EEF-CVE-2026-115693.json"
}
}
],
"database_specific": {
"cpe_ids": [
"cpe:2.3:a:benoitc:hackney:*:*:*:*:*:*:*:*"
],
"cwe_ids": [
"CWE-295"
],
"capec_ids": [
"CAPEC-94"
]
}
}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:29.374Z
Source modification: 2026-11-19T08:15:37.956ZDocument fingerprint
d85b75b9740b08bb66f3cdb23c0e66c2204170fc5c224466d45fabf77c47aeab - CVE ProgramConsulted: 2026-11-19T12:57:58.940ZArchived source JSON
Source publication: 2026-10-26T13:49:29.374Z
Source modification: 2026-11-19T08:06:44.899ZDocument fingerprint
75ae4f09c4a107ccfa5e708b5233f316d506f74174dd31a09800a08b70f0b6e7 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:44.695ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
62e95506c5b018c01a2905564f02c87bc9c2572b7f691c2bb26903c5f45e6629
Official status history
- UNKNOWN → PUBLISHED · · evidence