EEF-CVE-2026-32148

Source
https://cna.erlef.org/osv/EEF-CVE-2026-32148.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-32148.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-32148
Aliases
  • CVE-2026-32148
  • GHSA-hmv9-4mfr-m92v
Published
2026-04-30T18:17:03.783Z
Modified
2026-05-01T04:33:38.198Z
Severity
  • 8.9 (High) CVSS_V4 - 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 Calculator
Summary
Lockfile checksums not verified in Hex allows dependency integrity bypass
Details

Summary

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.

Database specific
{
    "capec_ids": [],
    "cwe_ids": [
        "CWE-354",
        "CWE-494"
    ],
    "cpe_ids": [
        "cpe:2.3:a:hexpm:hex:*:*:*:*:*:*:*:*"
    ]
}
References
Credits
    • Paul Fleischer - FINDER
    • Jonatan Männchen / EEF - REMEDIATION_DEVELOPER
    • Eric Meadows-Jönsson / Hex.pm - REMEDIATION_REVIEWER

Affected packages

Git / github.com/hexpm/hex.git

Affected ranges

Type
GIT
Repo
https://github.com/hexpm/hex.git
Events

Affected versions

v0.*
v0.16.0
v0.16.1
v0.17.0
v0.17.1
v0.17.2
v0.17.3
v0.17.4
v0.17.5
v0.17.6
v0.17.7
v0.18.0
v0.18.1
v0.18.2
v0.19.0
v0.20.0
v0.20.1
v0.20.2
v0.20.3
v0.20.4
v0.20.5
v0.21.0
v0.21.1
v0.21.2
v0.21.3
v1.*
v1.0.0
v1.0.1
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.0.4
v2.0.5
v2.0.6
v2.1.0
v2.1.1
v2.2.0
v2.2.1
v2.2.2
v2.4.0
v2.4.1

Database specific

source
"https://cna.erlef.org/osv/EEF-CVE-2026-32148.json"