CVE-2026-32148
Lockfile checksums not verified in Hex allows dependency integrity bypass
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.
INFO
Published Date :
April 30, 2026, 7:16 p.m.
Last Modified :
May 5, 2026, 2:16 a.m.
Remotely Exploit :
Yes !
Source :
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db | ||||
| CVSS 4.0 | HIGH | 6b3ad84c-e1a6-4bf7-a703-f496b71e49db |
Solution
- Update hex to version 2.4.2 or later.
- Ensure build systems verify dependency checksums.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-32148.
| URL | Resource |
|---|---|
| https://cna.erlef.org/cves/CVE-2026-32148.html | Third Party Advisory |
| https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e | Patch |
| https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v | Exploit Patch Vendor Advisory |
| https://osv.dev/vulnerability/EEF-CVE-2026-32148 | Exploit Third Party Advisory |
| https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v | Exploit Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-32148 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-32148
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-32148 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-32148 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
May. 05, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:hex:hex:*:*:*:*:*:*:*:* versions from (including) 0.16.0 up to (excluding) 2.4.2 Added Reference Type EEF: https://cna.erlef.org/cves/CVE-2026-32148.html Types: Third Party Advisory Added Reference Type EEF: https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e Types: Patch Added Reference Type CISA-ADP: https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v Types: Exploit, Patch, Vendor Advisory Added Reference Type EEF: https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v Types: Exploit, Patch, Vendor Advisory Added Reference Type EEF: https://osv.dev/vulnerability/EEF-CVE-2026-32148 Types: Exploit, Third Party Advisory -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Apr. 30, 2026
Action Type Old Value New Value Added Reference https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v -
New CVE Received by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Apr. 30, 2026
Action Type Old Value New Value Added 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. Added CVSS V4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CWE CWE-354 Added CWE CWE-494 Added Reference https://cna.erlef.org/cves/CVE-2026-32148.html Added Reference https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e Added Reference https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v Added Reference https://osv.dev/vulnerability/EEF-CVE-2026-32148