Skip to main content
VulnerabilityPublished

CVE-2026-103502: hexpm hex_core · Improper Certificate Validation Vulnerability

Affects hex_coreSource GCVE Database

0
Compare
Authoritative record:CVE-2026-103502· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium : upgrade to 0.20.0 when convenient.

Data as of 26 Nov 2026, 14:58 UTC

CVSS 4.0 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (EEF)CVSS 4.05.9
EPSS
0.3% chance of exploitation in 30 days – higher than 17% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.20.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Oct 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Nov 2026.

What to do

Upgrade hex_core to 0.20.0.

Affected software

ProductAffectedFixed in
Hexhex_corepkg:hex/hex_coreOther threatsAffected
  • 0.1.0 – 0.19.0
  • >=0.1.0 <0.20.0
44 affected builds
Fixed in
  • 0.20.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Users should upgrade hex_core to version 0.20.0 or later, which addresses the issue by enforcing certificate verification with secure SSL defaults on OTP 25 and above. For environments running OTP 24 or OTP 25 without CA certificates, upgrading the Erlang/OTP runtime to version 26 or later, which verifies certificates by default, is recommended. Users should also consider using alternative HTTP clients as suggested in the hex_core README to avoid relying on the insecure default httpc adapter. The vendor advisory does not indicate that this issue is already mitigated or that no action is required.

Description

An improper certificate validation vulnerability exists in hexpm's hex_core library affecting versions before 0.20.0. This flaw allows an attacker who can intercept HTTPS connections to impersonate hex.pm or related repositories when using hex_core's default HTTP adapter on Erlang/OTP 24 or OTP 25 without a loaded CA certificate store. The issue arises because the default HTTP adapter falls back to insecure SSL options that do not verify server certificates in these environments. hex_core 0.11.0 and later added secure SSL defaults for OTP 25+, but earlier versions remain vulnerable. The vulnerability is documented but the warnings and README do not clearly communicate the lack of certificate verification under certain conditions.

References

Community reviews

Loading reviews…