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 :
Oct. 26, 2026, 10:10 p.m.
Remotely Exploit :
Yes !
Source :
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| 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.
-
CVE Translated by [email protected]
Oct. 26, 2026
Action Type Old Value New Value Added Translation Title: hex de hexpm, Description: Vulnerabilidad de verificación insuficiente de la autenticidad de los datos en hexpm hex (módulo Hex.RemoteConverger) permite el bypass de la integridad de las dependencias a través de sumas de verificación de archivos de bloqueo no verificadas. Hex almacena sumas de verificación para las dependencias en el archivo mix.lock para asegurar compilaciones reproducibles y con integridad verificada. Sin embargo, Hex.RemoteConverger.verify_resolved/2 nunca ejecuta la verificación de la suma de verificación porque los datos de bloqueo devueltos por Hex.Utils.lock/1 utilizan nombres de dependencia basados en cadenas, mientras que la lógica de verificación compara con nombres basados en átomos. Esta falta de coincidencia de tipos hace que la ruta del código de verificación se omita silenciosamente. Las sumas de verificación aún se validan cuando los paquetes se descargan inicialmente del registro, pero las discrepancias entre el archivo de bloqueo y las dependencias resueltas no se detectan. Un atacante que puede influir en los paquetes en caché (por ejemplo, a través de envenenamiento de caché local o un registro comprometido) puede proporcionar contenidos de dependencia modificados que serán aceptados sin detección. El archivo mix.lock se reescribe silenciosamente con los valores de suma de verificación del registro, borrando la evidencia de manipulación. Este problema afecta a hex: desde 0.16.0 antes de 2.4.2. -
CVE Modified by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/hexpm/hex', 'vendor': 'hexpm', 'modules': ["'Elixir.Hex.RemoteConverger'"], 'product': 'hex', 'versions': [{'status': 'affected', 'version': '0.16.0', 'lessThan': '2.4.2', 'versionType': 'semver'}], 'packageURL': 'pkg:otp/hex?repository_url=https:%2F%2Fgithub.com%2Fhexpm%2Fhex&vcs_url=git%20https:%2F%2Fgithub.com%2Fhexpm%2Fhex.git', 'packageName': 'hex', 'programFiles': ['lib/hex/remote_converger.ex'], 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Hex.RemoteConverger':verify_resolved/2"}]}, {'cpes': ['cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*'], 'repo': 'https://github.com/hexpm/hex.git', 'vendor': 'hexpm', 'modules': ["'Elixir.Hex.RemoteConverger'"], 'product': 'hex', 'versions': [{'status': 'affected', 'version': 'e01576f28c64af9fae6eb17e2dad30f6efcb303c', 'lessThan': 'd7528c8199a1144511508bf3a6460026a5a14c8e', 'versionType': 'git'}], 'packageURL': 'pkg:github/hexpm/hex', 'packageName': 'hexpm/hex', 'programFiles': ['lib/hex/remote_converger.ex'], 'collectionURL': 'https://github.com', 'defaultStatus': 'unaffected', 'programRoutines': [{'name': "'Elixir.Hex.RemoteConverger':verify_resolved/2"}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-32148', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-04-30T19:03:06.385106Z'} -
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