CVE & CISA-KEV Catalog

CVE-2024-53866

CRITICAL
9.8
CVSS v3
NVD

Description

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 Available
pnpmWindows application
Affected:9.15.0Fixed in:9.15.0pnpm

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

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Exploit Intelligence

0.94%probability of exploitation in 30 days
57thpercentile

Moderate risk: more likely to be exploited than 57% of all known CVEs.

References

Exploit1

Related Vulnerabilities

Other CWE-426 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2015-0096High9.371%--
CVE-2016-10009High7.337%-Fix
CVE-2016-0016High7.831%--
CVE-2012-1854High7.821%KEV-
CVE-2018-12589High7.820%--
CVE-2022-22047High7.819%KEVFix
Embed a live status badge for CVE-2024-53866
CVE-2024-53866 severity badge

Markdown

[![CVE-2024-53866](https://tridentstack.com/cve/badge/CVE-2024-53866.svg)](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 free

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