CVE-2026-32148
published high CVSS 4.0 · 8.9Lockfile checksums not verified in Hex allows dependency integrity bypass
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| hexpm | — | hex0.16.0 to < 2.4.2 · Other versions: unaffected | Affected | Not stated | EEF |
| hexpm | — | hexpm/hexhex · e01576f28c64af9fae6eb17e2dad30f6efcb303c to < d7528c8199a1144511508bf3a6460026a5a14c8e · Other versions: unaffected | Affected | Not stated | EEF |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.9 / 10
- Severity
- high
- Provider
- EEF · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| hexpm | hex | 0.16.0 to < 2.4.2 (affected · semver)Default: unaffected | EEF · cna |
| hexpm | hex | e01576f28c64af9fae6eb17e2dad30f6efcb303c to < d7528c8199a1144511508bf3a6460026a5a14c8e (affected · git)Default: unaffected | EEF · cna |
Weaknesses
2- CWE-354 CWE-354 Improper Validation of Integrity Check Value
- CWE-494 CWE-494 Download of Code Without Integrity Check
References
5- EEF CNA record for CVE-2026-32148 https://cna.erlef.org/cves/CVE-2026-32148.html
- Fix commit d7528c8 in hexpm/hex https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e
- Introducing commit e01576f in hexpm/hex https://github.com/hexpm/hex/commit/e01576f28c64af9fae6eb17e2dad30f6efcb303c
- Lockfile checksums not verified in Hex allows dependency integrity bypass https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v
- OSV record EEF-CVE-2026-32148 https://osv.dev/vulnerability/EEF-CVE-2026-32148
Provider assertions
2EEF · cna
Lockfile checksums not verified in Hex allows dependency integrity bypass
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fc203e633dabe12f3fd99966ffb73ef463f923716a70b1963cb76ad5c7b801af
- Ingested
- 11 Nov 2026, 19:24:13 UTC
- Source record
- Official CVE record