Improper Certificate Validation vulnerability in hexpm hex allows an attacker who can intercept HTTPS connections, and…
Summary
Vulnerability reported (CVE-2026-103503). Risk of unauthorized operations or information disclosure.
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-103503 has been found.
Risk of unauthorized operations or information disclosure.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "CVE-2026-103503" on the vendor's site.
CVE-2026-103503 — CWE-295
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-295) has been reported.
Check the vendor advisory for the affected versions.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Audit SBOM/dependencies to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで影響コンポーネントを特定する。
-
2
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| hexpmhex |
≥ c9b26a46928bfcd546773571e09c1d05f4cd9fb7 (no fix yet)→ 5f5a2136c7cf5991b6e8a30d645ca9f8e74b0785, 6232a6498015e559743bec4f4fbec9138837cec8 |
5f5a2136c7cf5991b6e8a30d645ca9f8e74b0785, 6232a6498015e559743bec4f4fbec9138837cec8 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-103503 erlang-hex Fix available
- Ubuntu UBUNTU-CVE-2026-103503 erlang-hex No fixed version in this record
Original description The description as published by the source.
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.
Details
Hex.HTTP.SSL.get_ca_certs/0returns the certificates fromcacerts_pathwhen it's set, andssl_opts/1passes them ascacerts.ssl_opts/1setspartial_chainto&partial_chain(Certs.cacerts(), &1), which always uses the bundled store.- When the server's chain doesn't lead to a certificate in
cacerts, OTP callspartial_chainwith the chain.partial_chain/2returns{:trusted_ca, der}for the first certificate whose public key matches a bundled CA certificate, and OTP validates the chain with tha…
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web cna.erlef.org
- web github.com
- web osv.dev
- web github.com