CVE-2026-32148
Lockfile checksums not verified in Hex allows dependency integrity bypass
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| hex hexpm hex
otp |
≥ 0.16.0; < 2.4.2 (affected, semver)
Other versions: unaffected |
CNA: EEF |
| hex hexpm hexpm/hex
github |
≥ e01576f28c64af9fae6eb17e2dad30f6efcb303c; < d7528c8199a1144511508bf3a6460026a5a14c8e (affected, git)
Other versions: unaffected |
CNA: EEF |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 8.9 high |
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H | CNA: EEF |
Exploit evidence
- https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v
exploit · ADP: CISA-ADP
References
- https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92vCNA: EEF · vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2026-32148.htmlCNA: EEF · related
- https://osv.dev/vulnerability/EEF-CVE-2026-32148CNA: EEF · related
- https://github.com/hexpm/hex/commit/e01576f28c64af9fae6eb17e2dad30f6efcb303cCNA: EEF · related
- https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8eCNA: EEF · patch
- https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92vADP: CISA-ADP · exploit
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.