Skip to main content
← All vulnerabilities
CVE-2025-69264GHSA-379Q-355J-W6RJ

pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 10.26.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • pnpm pnpm

    From 10.0.0 · fixed in 10.26.0

  • pnpmnpm

    From 10.0.0 · fixed in 10.26.0

References 2

GitHub · pnpm/pnpm