CVE-2024-53866
CRITICALDescription
The package manager pnpm prior to version 9.15.0 seems to mishandle overrides and global cache: Overrides from one workspace leak into npm metadata saved in global cache; npm metadata from global cache affects other workspaces; and installs by default don't revalidate the data (including on first lockfile generation). This can make workspace A (even running with `ignore-scripts=true`) posion global cache and execute scripts in workspace B. Users generally expect `ignore-scripts` to be sufficient to prevent immediate code execution on install (e.g. when the tree is just repacked/bundled without executing it). Here, that expectation is broken. Global state integrity is lost via operations that one would expect to be secure, enabling subsequently running arbitrary code execution on installs. Version 9.15.0 fixes the issue. As a work-around, use separate cache and store dirs in each workspace.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Moderate risk: more likely to be exploited than 57% of all known CVEs.
References
Related Vulnerabilities
Other CWE-426 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2015-0096 | High | 9.3 | 71% | - | - |
| CVE-2016-10009 | High | 7.3 | 37% | - | Fix |
| CVE-2016-0016 | High | 7.8 | 31% | - | - |
| CVE-2012-1854 | High | 7.8 | 21% | KEV | - |
| CVE-2018-12589 | High | 7.8 | 20% | - | - |
| CVE-2022-22047 | High | 7.8 | 19% | KEV | Fix |
Embed a live status badge for CVE-2024-53866
Markdown
[](https://tridentstack.com/cve/CVE-2024-53866)HTML
<a href="https://tridentstack.com/cve/CVE-2024-53866"><img src="https://tridentstack.com/cve/badge/CVE-2024-53866.svg" alt="CVE-2024-53866"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-06-22.