CVE-2026-115693: Custom cacerts or cacertfile do not restrict trust to the pinned CA in hackney
benoitc · hackney
Fixed in 4.9.0 · Affected: benoitc hackney before 4.9.0 · Exploitation: unlikely (under 1%)
Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.
Higher than 19% of scored CVEs
DescriptionCVE.org
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.
Affected products2
From the CVE record. A product or version that is not listed is unknown, not unaffected.
- benoitc · hackneyfrom 1.24.0 before 4.9.0
- benoitc · hackneyVersions not stated
On the Atlas
Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.
- Exploitation
- Unlikely (under 1%). EPSS under 1%, or no score yet.
- CISA KEV
- Not listed
- Public check
- No public nuclei template
- Vendor
- benoitc
- Published
- October 2026
CoverageNo articles yet
No CyberSIXT article names CVE-2026-115693 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.
References
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-295cwe.mitre.org
- Vendor advisorygithub.com
- Patchgithub.com
- github.com/benoitc/hackney/pull/978github.com
- cna.erlef.org/cves/CVE-2026-115693.htmlcna.erlef.org
- osv.dev/vulnerability/EEF-CVE-2026-115693osv.dev
- github.com/benoitc/hackney/commit/d8a9afcf5c3849904274e2eba1df56github.com