cvedb.io
CVE-2024-53866
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2024-12-10T18:15:42.160 · Last modified 2026-06-22T14:38:57.817

Summary

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.

Affected products

pnpm — pnpm

Does this affect you?

Add your gear to cvedb and we'll alert you only when pnpm ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.