Home / hexpm / hex / CVE-2026-103503
CVE-2026-103503: is it exploited, and which versions of hexpm hex are affected and fixed?
CVE-2026-103503 is an improper certificate validation vulnerability in hexpm hex. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: hex from 0.20.2 before 2.5.2 (CVE record by EEF). Fixed in 2.5.2 (CVE record by EEF). Severity: Medium (5.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 19, 2026, 08:34 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-103503?
Hex trusts its bundled CA certificates when cacerts_path is set
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.
From the CVE record by EEF, last updated November 19, 2026, 08:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| hexpm | hex | from 0.20.2 before 2.5.2 | 2.5.2 |
| hexpm | hex hexpm/hex | not stated |
As the CVE record by EEF states it, last updated November 19, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-103503?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.9 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-103503 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, October 16, 2026)
- EPSS
- 0.25% probability of exploitation activity in the next 30 days, percentile 17.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-295 Improper Certificate Validation
How do I fix it? (from the CVE record)
Upgrade Hex to 2.5.2 or later, for example with mix local.hex. With cacerts_path (HEX_CACERTS_PATH) set, Hex then only accepts server certificates that chain to a CA in that file, and it doesn't trust copies of CA certificates sent by the server.
Is there a workaround? (from the CVE record)
There's no Hex configuration that stops the bundled CAs from being trusted.
Where are the vendor advisories and references?
- GitHub Advisory related, vendor-advisory
- EEF CNA record for CVE-2026-103503 related
- OSV record EEF-CVE-2026-103503 related
- Introducing commit c9b26a4 in hexpm/hex related
- Fix commit 5f5a213 in hexpm/hex patch
- Fix commit 6232a64 in hexpm/hex patch
Who found and reported it?
- Peter Ullrich (finder)
- Jonatan Männchen / EEF (analyst)
- Eric Meadows-Jönsson (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 8, 2026
- Published
- October 12, 2026, 15:17 UTC
- CVE record updated
- November 19, 2026, 08:21 UTC by EEF
- NVD
- Deferred, last modified November 11, 2026, 15:17 UTC
- Last checked
- CVE list November 19, 2026, 08:34 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hex?
- Oct 14, 2026CVE-2026-96596 Erlang OTP: infinite loop (denial of service)
- Oct 12, 2026CVE-2026-105274 erlang rebar3: improper Handling of Highly Compressed Data (Data Amplification)
- Oct 12, 2026CVE-2026-81856 hexpm hex: improper Neutralization of Escape, Meta, or Control Sequences
- Oct 12, 2026CVE-2026-96612 hexpm hex: path traversal (reading or writing files outside the intended folder)
- Oct 12, 2026CVE-2026-105668 hexpm hex: protection mechanism failure
- Oct 12, 2026CVE-2026-105280 hexpm hex: improper Validation of Integrity Check Value
- Oct 12, 2026CVE-2026-96618 hexpm hex: improper Handling of Highly Compressed Data (Data Amplification)
- Apr 30, 2026CVE-2026-32148 hexpm hex: improper Validation of Integrity Check Value
Questions about CVE-2026-103503
Is CVE-2026-103503 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.25% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of hexpm hex are affected by CVE-2026-103503?
hex from 0.20.2 before 2.5.2, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-103503?
2.5.2, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-103503?
Medium (5.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-103503?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.