CVE-2026-103502: hexpm hex_core · Improper Certificate Validation Vulnerability
Affects hex_coreSource GCVE Database
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
Thin evidence
One scorer or none| CNA (EEF) | CVSS 4.0 | 5.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:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Oct 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
Hexhex_corepkg:hex/hex_coreOther threats | Affected
| Fixed in
|
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
- github.com/hexpm/hex_core/security/advisories/GHSA-p26c-h8c2-rwqj (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-103502 (opens in a new tab)
- github.com/hexpm/hex_core/commit/b7b3a42defb4ed8e20a5c68a4412ce68a95b7938 (opens in a new tab)
- github.com/hexpm/hex_core/commit/fbb6d9de472e5edb8d6fb6b32a91cb266137892e (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-103502.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-103502 (opens in a new tab)