CVE-2026-103503: fallo de gravedad media en hexpm hex
Hex trusts its bundled CA certificates when cacerts_path is set
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
13Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 5.9epss 0.2%
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.
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
Productos afectados
hexpm · hexCVEs relacionadas — hexpm hex
En el mismo producto, de las más peligrosas a las menos.
CVE-2026-21619LOWUnsafe Deserialization of Erlang Terms in hex_coreEPSS 0.6%CVE-2026-105274LOWhex_core decompresses registry and Erlang term API responses without size limitsEPSS 0.4%CVE-2026-96612HIGHPath traversal in Hex via unvalidated dependency app namesEPSS 0.4%CVE-2026-81856LOWTerminal escape sequence injection in Hex via unneutralized server-supplied outputEPSS 0.4%CVE-2026-105668HIGHHex release-age cooldown is lifted package-wide when the locked release is retiredEPSS 0.4%CVE-2026-96618LOWHex exhausts memory and disk on oversized or compressed responses from an untrusted mirrorEPSS 0.4%
Referencias
https://cna.erlef.org/cves/CVE-2026-103503.htmlhttps://github.com/hexpm/hex/commit/5f5a2136c7cf5991b6e8a30d645ca9f8e74b0785https://github.com/hexpm/hex/commit/6232a6498015e559743bec4f4fbec9138837cec8https://github.com/hexpm/hex/commit/c9b26a46928bfcd546773571e09c1d05f4cd9fb7https://github.com/hexpm/hex/security/advisories/GHSA-rw8q-hg7m-cxgrhttps://osv.dev/vulnerability/EEF-CVE-2026-103503