CVE-2024-53866: pnpm vulnerable to no-script global cache poisoning via overrides / `ignore-scripts` evasion
Affects pnpmSource GCVE Database
Not known to be exploited · CVSS 5.8 Medium : upgrade to 9.15.0 when convenient.
Data as of 19 Nov 2026, 20:24 UTC
- EPSS
- 0.9% chance of exploitation in 30 days – higher than 62% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 9.15.0
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:N/SC:H/SI:H/SA:HExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 19 Nov 2026.
What to do
Upgrade pnpm to 9.15.0.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpnpmpkg:brew/pnpmOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in pnpm version 9.15.0. Users should upgrade to this version or later to remediate the vulnerability. As a temporary workaround, users can configure separate cache and store directories for each workspace to prevent global cache poisoning. No other specific mitigations are indicated.
Description
pnpm versions prior to 9.15.0 contain a vulnerability where the use of overrides combined with global cache handling allows one workspace to poison the global cache and execute scripts in another workspace, even when 'ignore-scripts' is enabled. This undermines the expected prevention of script execution during package installs. The issue is fixed in version 9.15.0. A recommended workaround is to use separate cache and store directories for each workspace.
References
- github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53866.json (opens in a new tab)
- github.com/pnpm/pnpm/security/advisories/GHSA-vm32-9rqf-rh3r (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2024-53866 (opens in a new tab)
- github.com/pnpm/pnpm/commit/11afcddea48f25ed5117a87dc1780a55222b9743 (opens in a new tab)