CVE-2026-103503 json
Hex trusts its bundled CA certificates when cacerts_path is set
published 28d ago modified 24d ago also EUVD-2026-97497
- cvss
- 5.9
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 10%
- public exploits
- 0
- none known
Summary
Improper Certificate Validation vulnerability in hexpm hex allows an attacker who can intercept HTTPS connections, and holds a certificate for a Hex host issued by a CA in Hex's bundled CA store, to impersonate that host to users who set cacerts_path to a CA store that leaves that CA out.
cacerts_path (HEX_CACERTS_PATH) is documented as the path to the CA certificate store, used instead of the CA bundle that ships with Hex. Hex.HTTP.SSL.ssl_opts/1 passes the configured store as the cacerts option, but builds the partial_chain callback from the bundled store whether cacerts_path is set or not. Hex.HTTP.SSL.partial_chain/2 accepts a server chain when any certificate in it has the same public key as a bundled CA certificate, so a chain that leads to a bundled CA passes verification although the configured store doesn't contain that CA. Hostname verification still applies.
This issue affects hex: from 0.20.2 before 2.5.2.
Patch / fix
- hexpm hex 2.5.2
- erlang-hex Debian 14 2.5.3-2
debian advisories DEBIAN-CVE-2026-103503
- github.com/hexpm/hex@c9b26a4 commit
- github.com/hexpm/hex@5f5a213 commit
- github.com/hexpm/hex@6232a64 commit
Is CVE-2026-103503 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-103503 updated cvss 6.8
hex: hex: Host impersonation via improper CA certificate store validation
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 24d ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.9 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N |
| CNA | 4.0 | 5.9 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- hexpm hex
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/hexpm/hex/commit/c9b26a46928bfcd546773571e09c1d05f4cd9fb7
related
-
github.com
/hexpm/hex/commit/5f5a2136c7cf5991b6e8a30d645ca9f8e74b0785
patch
-
github.com
/hexpm/hex/commit/6232a6498015e559743bec4f4fbec9138837cec8
patch
-
github.com
/hexpm/hex/security/advisories/GHSA-rw8q-hg7m-cxgr
related, vendor-advisory
-
cna.erlef.org
/cves/CVE-2026-103503.html
related
-
osv.dev
/vulnerability/EEF-CVE-2026-103503
related
Sources
- CVE List CVE-2026-103503
- NVD CVE-2026-103503
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.