{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-115693","id":"CVE-2026-115693","title":"hackney server impersonation in TLS certificate validation","description":"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","descriptionLong":"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.\n\nThe hostname check still applies, so the attacker needs a publicly trusted certificate for the pinned hostname.\n\nThis issue affects hackney: from 1.24.0 before 4.9.0.","published":"2026-10-26T13:49:29.374Z","updated":"2026-11-19T09:45:52.874552879Z","reserved":"2026-10-25T10:45:02.327Z","status":"Awaiting Analysis","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":9.1,"vector":"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","rating":"critical","source":"EEF"},"metrics":[{"version":"4.0","score":9.1,"vector":"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","rating":"critical","source":"EEF"},{"version":"4.0","score":9.1,"vector":"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/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","rating":"critical","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"}],"rating":"critical","products":["benoitc hackney"],"affectedProducts":[{"vendor":"benoitc","product":"hackney","defaultStatus":"unaffected","versions":[{"lessThan":"4.9.0","status":"affected","version":"1.24.0","versionType":"semver"}],"platforms":[]},{"vendor":"benoitc","product":"hackney","defaultStatus":"unaffected","versions":[{"lessThan":"915eb5737e9c489d8fc22eec8cdae30e9b027be4","status":"affected","version":"d8a9afcf5c3849904274e2eba1df56c63d1a1a0c","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-295"],"aliases":["EEF-CVE-2026-115693"],"references":[{"url":"https://github.com/benoitc/hackney/releases/tag/4.9.0","tags":["vendor-advisory","related","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-115693.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-115693","tags":["related","web"]},{"url":"https://github.com/benoitc/hackney/pull/978","tags":["related","fix"]},{"url":"https://github.com/benoitc/hackney/commit/d8a9afcf5c3849904274e2eba1df56c63d1a1a0c","tags":["related","fix"]},{"url":"https://github.com/benoitc/hackney/commit/915eb5737e9c489d8fc22eec8cdae30e9b027be4","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/115xxx/CVE-2026-115693.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115693","tags":["advisory"]},{"url":"https://github.com/benoitc/hackney","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00267,"epssPercentile":0.19119,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-115693","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-115693","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-115693","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-115693","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}