CVE-2025-69264
High · 8.8pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
CVSS
8.8
EPSS
1.0%
Published
Jan 7, 2026
CISA due date
—
The record
A security bypass vulnerability in pnpm v10+ allows 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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | pnpm | 10.0.0 | 10.26.0 |
Related vulnerabilities
- GHSA-379q-355j-w6rj pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default" Same vulnerability
- GHSA-v253-rj99-jwpq pnpm has Path Traversal via arbitrary file permission modification Also affects pnpm
- GHSA-6pfh-p556-v868 pnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip) Also affects pnpm
- GHSA-6x96-7vc8-cm3p pnpm has Windows-specific tarball Path Traversal Also affects pnpm
- GHSA-xpqm-wm3m-f34h pnpm scoped bin name Path Traversal allows arbitrary file creation outside… Also affects pnpm
- GHSA-m733-5w8f-5ggw pnpm has symlink traversal in file:/git dependencies Also affects pnpm
- CVE-2026-24056 pnpm has symlink traversal in file:/git dependencies Also affects pnpm
- CVE-2026-23890 pnpm scoped bin name Path Traversal allows arbitrary file creation outside… Also affects pnpm