PatchSiren cyber security CVE debrief
CVE-2026-103503 hexpm CVE debrief
A vulnerability in hexpm's hex package allows an attacker to impersonate a host to users who set cacerts_path to a CA store that leaves a specific CA out. This issue affects hex versions from 0.20.2 before 2.5.2. The vulnerability arises from improper certificate validation when cacerts_path is set, causing the package to trust its bundled CA certificates. As a result, an attacker can intercept HTTPS connections and impersonate a host if they hold a certificate for a Hex host issued by a CA in Hex's bundled CA store. This can lead to security breaches in systems using the hex package. Defenders should be aware of the potential risks and take necessary actions to mitigate them.
- Vendor
- hexpm
- Product
- hex
- 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
Defenders responsible for systems using the hex package should assess exposure based on their specific deployment contexts and verify their inventory of systems. They should evaluate the configuration of cacerts_path and its impact on the system's trust store. Additionally, they should consider updating to version 2.5.2 or later of the hex package. Defenders should prioritize verifying their inventory of systems using hex and assessing exposure based on их
Why it matters
The vulnerability in hexpm's hex package allows an attacker to impersonate a host to users who set cacerts_path to a CA store that leaves a specific CA out, impacting defenders who need to verify their inventory and assess exposure.
- Defenders need to verify their inventory of systems using hex and assess exposure based on specific deployment contexts.
- The vulnerability allows an attacker to impersonate a host to users who set cacerts_path to a CA store that leaves a specific CA out.
- Defenders should evaluate the configuration of cacerts_path and its impact on the system's trust store.
- Updating to version 2.5.2 or later of the hex package may be necessary.
Technical summary
The hex package improperly validates certificates when cacerts_path is set, allowing an attacker to impersonate a host to users who set cacerts_path to a CA store that leaves a specific CA out. This issue affects hex versions from 0.20.2 before 2.5.2. The vulnerability is caused by the package trusting its bundled CA certificates when cacerts_path is set. This can lead to security breaches in systems using the hex package. Defenders should be aware of the potential risks and take necessary actions to mitigate them. The vulnerability can be mitigated by updating to version 2.5.2 or later of the hex package.
Defensive priority
Defenders should prioritize verifying their inventory of systems using hex and assessing exposure based on their specific deployment contexts.
Recommended defensive actions
- Verify the inventory of systems using hex and assess exposure based on specific deployment contexts.
- Evaluate the configuration of cacerts_path and its impact on the system's trust store.
- Consider updating to version 2.5.2 or later of the hex package.
- 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 vulnerability is caused by improper certificate validation in the hex package. When cacerts_path is set, the package trusts its bundled CA certificates, allowing an attacker to impersonate a host if they can intercept HTTPS connections and hold a certificate for a Hex host issued by a CA in Hex's bundled CA store.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-103503 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-103503
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-103503 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-103503
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Hex trusts its bundled CA certificates when cacerts_path is set
Unverified legacy reference
URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/103xxx/CVE-2026-103503.json
cve_program_cvelist_v5
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/security/advisories/GHSA-rw8q-hg7m-cxgr
Supplemental source - related, vendor-advisory
-
Source reference
Unverified legacy reference
URL: https://cna.erlef.org/cves/CVE-2026-103503.html
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://osv.dev/vulnerability/EEF-CVE-2026-103503
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/commit/c9b26a46928bfcd546773571e09c1d05f4cd9fb7
Supplemental source - related
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/commit/5f5a2136c7cf5991b6e8a30d645ca9f8e74b0785
Supplemental source - patch
-
Source reference
Unverified legacy reference
URL: https://github.com/hexpm/hex/commit/6232a6498015e559743bec4f4fbec9138837cec8
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.