# CVE-2026-32148: Lockfile checksums not verified in Hex allows dependency integrity bypass

- Severity: High 8.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 11% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-04-30T18:17:03.783Z
- Modified: 2026-11-25T06:30:21.804Z
- Also known as: EEF-CVE-2026-32148, GHSA-hmv9-4mfr-m92v
- Weaknesses: CWE-354, CWE-494
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: 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.

(As written by CVE List.)

## Affected

- hex: from 0.16.0 before 2.4.2
- hexpm/hex: from e01576f28c64af9fae6eb17e2dad30f6efcb303c before d7528c8199a1144511508bf3a6460026a5a14c8e
- https://github.com/hexpm/hex: from e01576f28c64af9fae6eb17e2dad30f6efcb303c before d7528c8199a1144511508bf3a6460026a5a14c8e
- hex hex: from 0.16.0 before 2.4.2

## Every score

- EEF: CVSS: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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v> (exploit, advisory, patch, related, vendor-advisory)
- <https://osv.dev/vulnerability/EEF-CVE-2026-32148> (exploit, related, third-party-advisory)
- <https://cna.erlef.org/cves/CVE-2026-32148.html> (related, third-party-advisory, web)
- <https://github.com/hexpm/hex/commit/e01576f28c64af9fae6eb17e2dad30f6efcb303c> (related, web)
- <https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e> (fix, patch)

## Sources

- CVE List: [CVE-2026-32148](https://www.cve.org/CVERecord?id=CVE-2026-32148), CVE Terms of Use, modified 2026-11-11
- Erlang Ecosystem Foundation: [EEF-CVE-2026-32148](https://osv.dev/vulnerability/EEF-CVE-2026-32148), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-32148](https://nvd.nist.gov/vuln/detail/CVE-2026-32148), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-32148 · Whole record: https://cve.day/CVE-2026-32148.json · Rebuilt by cve.day 2026-11-25T22:59:20.293Z
