Improper Certificate Validation in Hex by HexPM
CVE-2026-103503
5.9MEDIUM
What is CVE-2026-103503?
An improper certificate validation vulnerability in Hex allows attackers to intercept HTTPS connections. If an attacker holds a certificate for a Hex host issued by a Certificate Authority (CA) included in Hex’s bundled CA store, they can impersonate that host for users who set the cacerts_path to a CA store that omits that CA. This flaw arises because the partial_chain callback utilizes the bundled CA store regardless of the user's configured store. Though hostname verification is still enforced, this could lead to unintended trust relationships and potentially compromise sensitive data.
Affected Version(s)
hex 0.20.2 < 2.5.2
hex c9b26a46928bfcd546773571e09c1d05f4cd9fb7
References
CVSS V4
Score:
5.9
Severity:
MEDIUM
Confidentiality:
High
Integrity:
Low
Availability:
None
Attack Vector:
Network
Attack Complexity:
High
Attack Required:
Physical
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
Vulnerability published
Vulnerability Reserved
Credit
Peter Ullrich
Eric Meadows-Jönsson
Jonatan Männchen / EEF
