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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.9
- **CVSS:** 8.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: High; Integrity impact on other systems: High; Availability impact on other systems: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.26% (percentile 10, 2026-11-26)
- **CWE:** CWE-354, CWE-494
- **Published:** 2026-04-30T18:17:03.783Z
- **Modified:** 2026-11-11T20:17:09.850Z

## Who should check

- Anyone running hexpm hex \>= 0.16.0, \< 2.4.2
- Anyone running hexpm hex \>= e01576f28c64af9fae6eb17e2dad30f6efcb303c, \< d7528c8199a1144511508bf3a6460026a5a14c8e

## 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.

## Affected and fixed versions

- hexpm hex: \>= 0.16.0, \< 2.4.2 (cvelist)
- hexpm hex: \>= e01576f28c64af9fae6eb17e2dad30f6efcb303c, \< d7528c8199a1144511508bf3a6460026a5a14c8e (cvelist)

## Mitigation

- Upgrade hex to 2.4.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-32148. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-32148.md
Affected: hexpm hex >= 0.16.0, < 2.4.2; hexpm hex >= e01576f28c64af9fae6eb17e2dad30f6efcb303c, < d7528c8199a1144511508bf3a6460026a5a14c8e
Fixed in: hexpm hex 2.4.2

Steps:
1. Search this machine and project for hexpm hex: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-32148 being exploited?

There is no confirmed exploitation: CVE-2026-32148 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.26% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-32148?

High: CVSS 8.9 (v4.0, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-32148?

hexpm hex \>= 0.16.0, \< 2.4.2; hexpm hex \>= e01576f28c64af9fae6eb17e2dad30f6efcb303c, \< d7528c8199a1144511508bf3a6460026a5a14c8e.

### Is there a fix for CVE-2026-32148?

Yes. Fixed in hexpm hex 2.4.2. Upgrade hex to 2.4.2 or later.

### How do I check if I'm affected by CVE-2026-32148?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/hexpm/hex/security/advisories/GHSA-hmv9-4mfr-m92v>
- patch: <https://github.com/hexpm/hex/commit/e01576f28c64af9fae6eb17e2dad30f6efcb303c>
- patch: <https://github.com/hexpm/hex/commit/d7528c8199a1144511508bf3a6460026a5a14c8e>
- exploit: <https://osv.dev/vulnerability/EEF-CVE-2026-32148>
- other: <https://cna.erlef.org/cves/CVE-2026-32148.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-32148>

HTML: <https://flawdb.com/CVE-2026-32148> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-32148>
