PatchSiren cyber security CVE debrief
CVE-2026-103502 hexpm CVE debrief
CVE-2026-103502 debrief: The hex_core library's default HTTP adapter fails to verify TLS certificates on Erlang/OTP 24 and 25, allowing for man-in-the-middle attacks. This vulnerability affects users who utilize hex_core for HTTPS connections. Developers and administrators should assess their exposure and verify certificate validation to mitigate potential risks. The issue arises from improper certificate validation, enabling an attacker to impersonate hex.pm, repo.hex.pm, or other repositories/API servers.
- Vendor
- hexpm
- Product
- hex_core
- CVSS
- MEDIUM 5.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-10-12
- Original CVE updated
- 2026-10-12
- Advisory published
- 2026-10-12
- Advisory updated
- 2026-10-12
Who should care
Erlang/OTP 24 and 25 users who utilize hex_core for HTTPS connections should assess their exposure and verify certificate validation. This includes developers and administrators responsible for maintaining systems that use hex_core for secure communication.
Why it matters
CVE-2026-103502 is a medium-severity vulnerability in hex_core that affects Erlang/OTP 24 and 25. It allows for man-in-the-middle attacks due to improper certificate validation. Users of affected versions should verify their exposure and update to a secure version of hex_core.
- Man-in-the-middle attacks possible due to lack of certificate verification
- Impersonation of hex.pm, repo.hex.pm, or other repositories/API servers
- Potential for eavesdropping and tampering with secure communications
- Requires verification of certificate validation and potential updates to hex_core
Technical summary
The hex_core library's default HTTP adapter, hex_http_httpc, fails to verify TLS certificates on Erlang/OTP 24 and 25. This vulnerability allows an attacker who can intercept HTTPS connections to impersonate hex.pm, repo.hex.pm, or other repositories/API servers. The issue arises because hex_core's default adapter does not properly configure SSL options for certificate verification. Users of affected versions should verify their exposure and update to a secure version of hex_core. The vulnerability is a result of the adapter's fallback behavior when it cannot load the system's CA certificates, leading to a lack of certificate verification.
Defensive priority
Erlang/OTP 24 and 25 users should assess exposure and verify certificate validation
Recommended defensive actions
- Verify certificate validation in hex_core on Erlang/OTP 24 and 25
- Assess exposure and update to hex_core version 0.20.0 or later
- Implement proper certificate validation for HTTPS connections
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record and source item provide details on the Improper Certificate Validation vulnerability in hex_core. The vulnerability allows an attacker to impersonate hex.pm, repo.hex.pm, or other repositories/API servers to programs using hex_core's default HTTP adapter on Erlang/OTP 24 or OTP 25 when the system's CA certificates can't be loaded.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-103502 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-103502
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-103502 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-103502
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
hex_core's default HTTP adapter doesn't verify TLS certificates on OTP 24 and 25
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/103xxx/CVE-2026-103502.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex_core/security/advisories/GHSA-p26c-h8c2-rwqj
Supplemental source - related, vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-103502.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-103502
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex_core/commit/fbb6d9de472e5edb8d6fb6b32a91cb266137892e
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex_core/commit/b7b3a42defb4ed8e20a5c68a4412ce68a95b7938
Supplemental source - patch
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.