CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir packages

CVE-2026-115693

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 9.1 · critical

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 EEF
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
Assessment source · checked 2026-11-19T12:57:58.940Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T17:59:58.648ZCISA KEV
cvssverified2026-11-19T12:57:58.940ZCVE Program
epssverified2026-11-19T16:04:44.695ZFIRST EPSS
patchesverified2026-11-19T12:52:53.275ZOSV
affectedverified2026-11-19T12:57:58.940ZCVE Program
lifecycleverified2026-11-19T12:57:58.940ZCVE 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 JSON
OSV · 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 JSON

Correction 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 typeDistribution / releasePackageChannelVersion or source noteSource
ecosystem-boundaryHex / packagehackneyNot a distribution channel4.9.0Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history