CVEBrief

Home / hexpm / hex_core / CVE-2026-103502

CVE-2026-103502: is it exploited, and which versions of hexpm hex_core are affected and fixed?

CVE-2026-103502 is an improper certificate validation vulnerability in hexpm hex_core. 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, 18:09 UTC). Affected: hex_core from 0.1.0 before 0.20.0 (CVE record by EEF). Fixed in 0.20.0 (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, 18:09 UTC, CVE record November 19, 2026, 08:34 UTC and NVD November 19, 2026, 07:06 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 18:09 UTC
Affected
hex_core from 0.1.0 before 0.20.0
CVE record by EEF
Fixed in
0.20.0
CVE record by EEF
Severity
Medium 5.9
CVSS 4.0 from EEF
Exploit odds (EPSS)
0.24% in 30 days
higher than 16% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2026-103502?

hex_core's default HTTP adapter doesn't verify TLS certificates on OTP 24 and 25

Improper Certificate Validation vulnerability in hexpm hex_core allows an attacker who can intercept HTTPS connections to impersonate hex.pm, repo.hex.pm or any other repository or API server to programs that use hex_core's default HTTP adapter on Erlang/OTP 24, or on OTP 25 when the operating system's CA certificates can't be loaded. hex_core:default_config/0 selects the built-in hex_http_httpc adapter. For an HTTPS request whose adapter config has no ssl option, hex_http_httpc:http_options/2 builds options that verify the server certificate against public_key:cacerts_get/0. When that call raises, the adapter prints a warning and sends the request without ssl options, so httpc uses the defaults of the ssl application, which before OTP 26 don't verify the server certificate. public_key:cacerts_get/0 doesn't exist on OTP 24, so every HTTPS request falls back there, and on OTP 25 it raises when no CA store is found. hex_core versions before 0.11.0 never set ssl options, so they don't verify the server certificate on OTP 25 and earlier whether or not a CA store is found. The fallback was intended and documented, but the documentation didn't make clear that it meant no certificate verification. Since hex_core 0.8.2 the README has warned that the built-in httpc adapter "has insecure default settings" and recommended other HTTP clients, and the adapter prints "using default ssl options which are insecure" on every request that falls back. hex_core 0.11.0 added certificate verification with the changelog entry "Use secure SSL defaults for OTP 25+". Neither the README nor the warning says that the server certificate isn't verified, the README doesn't say which OTP versions the warning applies to, and on OTP 25 without CA certificates the warning tells users to upgrade to OTP 25 or later, which they already run. This advisory is published so that users who took those notices as general advice know their HTTPS requests weren't authenticated. This issue affects hex_core: from 0.1.0 before 0.20.0.

From the CVE record by EEF, last updated November 19, 2026, 08:21 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
hexpmhex_corefrom 0.1.0 before 0.20.00.20.0
hexpmhex_core hexpm/hex_corenot 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-103502?

ScoreVersionVectorSource
Medium 5.9CVSS 4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NEEF

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-103502 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.24% probability of exploitation activity in the next 30 days, percentile 16.5 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

How do I fix it? (from the CVE record)

Upgrade hex_core to 0.20.0 or later. On OTP 24, or on OTP 25 without the operating system's CA certificates, HTTPS requests through hex_http_httpc then fail with {error, {cacerts_unavailable, Reason}} unless the adapter config has ssl options.

Is there a workaround? (from the CVE record)

Pass ssl options that verify the server certificate in the adapter config, for example {hex_http_httpc, #{http_options => [{ssl, SslOpts}]}}, use another HTTP adapter, or run on OTP 26 or later.

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
October 9, 2026
Published
October 12, 2026, 13:15 UTC
CVE record updated
November 19, 2026, 08:21 UTC by EEF
NVD
Deferred, last modified October 16, 2026, 17:17 UTC
Last checked
CVE list November 19, 2026, 08:34 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect hex_core?

Every CVE in hex_core

Questions about CVE-2026-103502

Is CVE-2026-103502 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.24% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of hexpm hex_core are affected by CVE-2026-103502?

hex_core from 0.1.0 before 0.20.0, per the CVE record by EEF. The tables above give every range the sources list.

Which version fixes CVE-2026-103502?

0.20.0, per the CVE record by EEF. Check the vendor's advisory before you rely on it.

How severe is CVE-2026-103502?

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-103502?

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.