Skip to main content

Protection Mechanism Failure

CVE-2025-69264

Severity High
Score 9.8/10

Summary

pnpm is a package manager. Versions 10.0.0-alpha0 through 10.25.0 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.

  • LOW
  • NETWORK
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-693 - Protection Mechanism Failure

The product does not use or incorrectly uses a protection mechanism that provides sufficient defense against directed attacks against the product.

Advisory Timeline

  • Published