Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-32148

HIGH 8.9PoCEPSS 10%

Lockfile checksums not verified in Hex allows dependency integrity bypass

Mitigation

  • Upgrade hex to 2.4.2 or later.

Who should check

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

Vulnerability facts

Affected
hexpm hex >= 0.16.0, < 2.4.2; hexpm hex >= e01576f28c64af9fae6eb17e2dad30f6efcb303c, < d7528c8199a1144511508bf3a6460026a5a14c8e
Fixed in
hexpm hex 2.4.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
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:HOpen in CVSS calculator
Show all 11 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
EPSS
0.26% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-354, CWE-494
Published
Modified

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

Package / productAffectedFixedSource
hexpm hex>= 0.16.0, < 2.4.2—cvelist
hexpm hex>= e01576f28c64af9fae6eb17e2dad30f6efcb303c, < d7528c8199a1144511508bf3a6460026a5a14c8e—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

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.

References

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.

Sponsors