Skip to content

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

CriticalCVSS 9.8 EPSS 1.0%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
Red Hat

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.

Upgrade path

5 packages: 3 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
redhat jbosseapxp All versions No fix listed No fix yet
alpine/pnpm(Alpine v3.23) >= 10.0.0, < 10.33.4-r0 10.33.4-r0 Fixed
npm pnpm(npm) >= 10.0.0, < 10.26.0 10.26.0 Fixed
pnpm = > 10.0.0, < 10.26.0; >= 10.0.0, < 10.26.0 10.26.0 Fixed
redhat jboss enterprise application platform = 8 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm pnpm(npm) >= 10.0.0, < 10.26.0 10.26.0
pnpm = > 10.0.0, < 10.26.0 No fix listed
redhat jboss enterprise application platform = 8 No fix listed
redhat jbosseapxp All versions No fix listed
alpine/pnpm(Alpine:v3.23) >= 10.0.0, < 10.33.4-r0 10.33.4-r0
pnpm >= 10.0.0, < 10.26.0 10.26.0

References