CVE-2025-69264
pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
- State
- Published
- Severity
- 8.8 High
- Published
- Jan 7, 2026
- Updated
- Sep 14, 2026
- Reserved
- Dec 31, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | GitHub_M |
| 3.1 | 8.8 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | redhat-SADP |
Weaknesses
- CWE-693 Protection Mechanism Failure
Affected Products
| Product | Versions |
|---|---|
pnpmpnpm |
|
References
- https://github.com/pnpm/pnpm/security/advisories/GHSA-379q-355j-w6rj
- https://github.com/pnpm/pnpm/commit/73cc63504d9bc360c43e4b2feb9080677f03c5b5
- https://access.redhat.com/security/cve/CVE-2025-69264vdb-entry
- RHBZ#2427709issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69264.json
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.