CVE-2026-32148Lockfile 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.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang-hex | Under investigation | UBUNTU-CVE-2026-32148 | |
| Ubuntu 24.04 | erlang-hex | Under investigation | UBUNTU-CVE-2026-32148 | |
| Debian 14 | erlang-hex | Fixed | 2.4.2-2 | DEBIAN-CVE-2026-32148 |
| Debian 13 | erlang-hex | Fix pending | DEBIAN-CVE-2026-32148 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- hexpm hex: affected: 0.16.0 to before 2.4.2; fixed in
2.4.2 - hexpm hex: affected: e01576f28c64af9fae6eb17e2dad30f6efcb303c to before d7528c8199a1144511508bf3a6460026a5a14c8e
Vendor advisories:
- https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v (vendor-advisory)
- https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e (patch)
References
- https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v
- https://cna.erlef.org/cves/CVE-2026-32148.html
- https://osv.dev/vulnerability/EEF-CVE-2026-32148
- https://github.com/hexpm/hex/commit/e01576f28c64af9fae6eb17e2dad30f6efcb303c
- https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.