{"answers":{"affected":"1 open source package ship an affected version, including hackney.","exploited":"There is no known exploitation of CVE-2026-115693 in the wild and no public exploit code.","fix":"Upgrade hackney to 4.9.0 or later.","what":"CVE-2026-115693 is a critical vulnerability in benoitc hackney, published on 26 Oct 2026."},"fix_prompt":"Check this codebase for CVE-2026-115693 and fix it if it is affected.\n\nWhat it is: CVE-2026-115693 is a critical vulnerability in benoitc hackney, published on 26 Oct 2026. \nExploitation: There is no known exploitation of CVE-2026-115693 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- hackney (Hex): affected from 1.24.0; fixed in 4.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-115693/ (Markdown: https://insights.sbomify.com/CVE-2026-115693/index.md)","id":"CVE-2026-115693","markdown":"https://insights.sbomify.com/CVE-2026-115693/index.md","name":"CVE-2026-115693","record":{"aliases":["EEF-CVE-2026-115693","GHSA-g7gg-9jhv-68h6"],"analysis":null,"analysis_generated_by":null,"assigner":"EEF","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-295","name":"Improper 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 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.","ecosystems":["Hex"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Custom cacerts or cacertfile do not restrict trust to the pinned CA in hackney","id":"CVE-2026-115693","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Hex","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":6,"next":{"headline":"SSRF allowlist bypass via percent-encoded bracketed IPv6 or trailing-dot IP literal in hackney","id":"CVE-2026-115700"},"packages":[{"ecosystem":"Hex","fixed":["4.9.0"],"introduced":["1.24.0"],"last_affected":[],"package":"hackney","purl":"pkg:hex/hackney","source":"EEF-CVE-2026-115693"}],"prev":{"headline":"Arm Keil MDK-Middleware 8.0.0-8.3.0 may allow DHCPv6 Option-Walk Over-Reads and Unintended Data Retransmission","id":"CVE-2026-115680"},"products":["hackney"],"published":"2026-10-26","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Erlang Ecosystem Foundation","prefix":"EEF"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2026-10-26","vendors":["benoitc"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-115693/"}