CVE-2025-69264
Description
pnpm is a package manager. Versions 10.0.0 through 10.25 allow git-hosted dependencies to execute arbitrary code during pnpm install, circumventing the v10 security feature "Dependency lifecycle scripts execution disabled by default". While pnpm v10 blocks postinstall scripts via the onlyBuiltDependencies mechanism, git dependencies can still execute prepare, prepublish, and prepack scripts during the fetch phase, enabling remote code execution without user consent or approval. This issue is fixed in version 10.26.0.
How to fix
- pnpm pnpm10.26.0 or later
- pnpm10.26.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pnpm pnpm | 10.0.0 ≤ v < 10.26.0 | 10.26.0 |
| pnpmnpm | 10.0.0 ≤ v < 10.26.0 | 10.26.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.