Medium severity · published Apr 30, 2026
CVE-2026-32148
Lockfile checksums not verified in Hex allows dependency integrity bypass
5.9
CVSS
0.2%
EPSS
No
On KEV
Description
Insufficient Verification of Data Authenticity vulnerability in hexpm hex (Hex.RemoteConverger module) allows dependency integrity bypass via unverified lockfile checksums.
Hex stores checksums for dependencies in the mix.lock file to ensure reproducible and integrity-checked builds. However, Hex.RemoteConverger.verify_resolved/2 never executes checksum verification because the lock data returned by Hex.Utils.lock/1 uses string-based dependency names, while the verification logic compares against atom-based names. This type mismatch causes the verification code path to be silently skipped. Checksums are still validated when packages are initially downloaded from the registry, but mismatches between the lockfile and resolved dependencies are not detected.
An attacker who can influence cached packages (e.g., via local cache poisoning or a compromised registry) can provide modified dependency contents that will be accepted without detection. The mix.lock file is silently rewritten with the checksum values from the registry, erasing evidence of tampering.
This issue affects hex: from 0.16.0 before 2.4.2.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 9% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
HE
hex · hexpm
0.16.0 before 2.4.2; e01576f28c64af9fae6eb17e2dad30f6efcb303c before d7528c8199a1144511508bf3a6460026a5a14c8e · source: vendor, NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-32148
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-32148
Third Party Advisory
https://cna.erlef.org/cves/CVE-2026-32148.html
Patch
https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e
Exploit
https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v
Exploit
https://osv.dev/vulnerability/EEF-CVE-2026-32148
More from hex
7.5
CVE-2026-96612
Path traversal in Hex via unvalidated dependency app names
7.5
CVE-2026-21619
Unsafe Deserialization of Erlang Terms in hex_core
7.1
CVE-2026-105668
Hex release-age cooldown is lifted package-wide when the locked release is retired
6.9
CVE-2026-105280
Hex writes unverified package tarballs to standard output in mix hex.package fetch
5.9
CVE-2026-96596
erl_tar:extract/2 loops forever on a GNU sparse member with a trailing hole
