p PatchFirst

CVE-2025-69264

CVE-2025-69264 · pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.8 · High · EPSS 1.0% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • pnpm

    Versions
    • > 10.0.0, < 10.26.0: Affected

    No fix published

  • pnpm npm

    Affected ranges
    • SEMVER: ≥ 10.0.0, < 10.26.0

    Update to 10.26.0

Original sources

Check your server →