BreachSpiderVerified, not vibes

CVE-2024-53866 in Pnpm

Critical 9.8

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

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.19.8
CVSS v45.8
EPSS1.2%
EPSS percentile67th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Pnpm Pnpm < 9.15.0

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

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

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2024-53866
BreachSpider IDBS-2024-GLOBAL-221273-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-12-10
Last modified2026-06-22
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-426: CWE-426

Related attack patterns (CAPEC)

CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-426

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2024-53866 affects pnpm versions prior to 9.15.0, where overrides from one workspace can leak into the global cache, affecting other workspaces and potentially leading to poisoned global cache data.

An attacker could exploit this vulnerability by manipulating the global cache to inject malicious metadata or scripts, which could then be used to compromise other workspaces using the same global cache.

Questions

What is CVE-2024-53866?

CVE-2024-53866 affects pnpm versions prior to 9.15.0, where overrides from one workspace can leak into the global cache, affecting other workspaces and potentially leading to poisoned global cache data.

What is the CVSS score for CVE-2024-53866?

CVE-2024-53866 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 1.2%.

Is CVE-2024-53866 actively exploited?

No confirmed active exploitation of CVE-2024-53866 as of 2026-06-23.

How do I remediate CVE-2024-53866?

Priority: IMMEDIATE. PSIRT: [email protected]

What systems are affected by CVE-2024-53866?

CVE-2024-53866 affects Pnpm Pnpm.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Pnpm","product":"Pnpm","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-22.