CVE-2026-103503: hexpm hex · Improper Certificate Validation
Affects hexpm hexSource CVE Database V5
Not known to be exploited · CVSS 5.9 Medium : upgrade to 2.5.2 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 15% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.5.2
CVSS:4.0/AV:N/AC:H/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 hexpm hex to 2.5.2.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| hexpmhex | Affected
| Fixed in
|
| hexhexpm/hex | Affected
| Fixed in– |
GitHubhexpkg:github/hexOther threats | Affected
| Fixed in
|
CPE configurations (1)
cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade hex to version 2.5.2 or later, where this improper certificate validation issue is fixed. Until then, users should be cautious when configuring cacerts_path to use a custom CA store that differs from the bundled CA store. No other mitigations are documented. The vendor advisory confirms the fix in 2.5.2.
Description
CVE-2026-103503 is an improper certificate validation vulnerability in the hexpm hex client affecting versions from 0.20.2 up to but not including 2.5.2. The flaw allows an attacker who can intercept HTTPS connections and possesses a certificate issued by a CA included in Hex's bundled CA store to impersonate a Hex host to users who configure cacerts_path to a CA store that omits that CA. The vulnerability arises because the verification logic accepts server certificate chains containing any certificate with a public key matching a bundled CA certificate, even if the configured CA store does not include that CA. Hostname verification remains enforced. This issue is fixed in version 2.5.2.
References
- github.com/hexpm/hex/security/advisories/GHSA-rw8q-hg7m-cxgr (opens in a new tab)
- cna.erlef.org/cves/CVE-2026-103503.html (opens in a new tab)
- osv.dev/vulnerability/EEF-CVE-2026-103503 (opens in a new tab)
- github.com/hexpm/hex/commit/c9b26a46928bfcd546773571e09c1d05f4cd9fb7 (opens in a new tab)
- github.com/hexpm/hex/commit/5f5a2136c7cf5991b6e8a30d645ca9f8e74b0785 (opens in a new tab)
- github.com/hexpm/hex/commit/6232a6498015e559743bec4f4fbec9138837cec8 (opens in a new tab)