CVE Catalog

CVE-2025-69264

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.02%

60th percentile - higher than 60% of all known CVEs

Summary

The pnpm package manager versions 10.0.0 through 10.25 allow git-hosted dependencies to execute arbitrary code during pnpm install, bypassing the v10 security feature that disables dependency lifecycle scripts by default. Although 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.

Risk Assessment

An attacker can exploit this vulnerability to execute arbitrary code remotely on a developer's machine or CI/CD server during package installation, potentially leading to system compromise, data theft, or lateral movement within the environment.

Recommendation

Upgrade pnpm to version 10.26.0 or later immediately. Until the update is applied, avoid installing dependencies from untrusted Git repositories and manually review scripts in git dependencies.

Other vulnerabilities in pnpm

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS