CVE-2026-32148

5.9 MEDIUM
Published: April 30, 2026 Modified: May 05, 2026
View on NVD

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://cna.erlef.org/cves/CVE-2026-32148.html
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Third Party Advisory
https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit Patch Vendor Advisory
https://osv.dev/vulnerability/EEF-CVE-2026-32148
Source: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
Exploit Third Party Advisory
https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Patch Vendor Advisory

5 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.9 / 10.0
EPSS (Exploit Probability)
0.2%
9th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

hex