pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default" (CVE-2025-69264)
Description
pnpm versions 10.0.0 through 10.25 contain a vulnerability that allows git-hosted dependencies to execute arbitrary code during installation, bypassing the security feature that disables dependency lifecycle scripts by default. This occurs because git dependencies can run prepare, prepublish, and prepack scripts during the fetch phase, enabling remote code execution without user consent. The issue is resolved in pnpm version 10.26.0.
CVSS v3.1
Score 8.8high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in pnpm (CVE-2025-69264) affects versions 10.0.0 through 10.25. pnpm introduced a security feature in version 10 to disable execution of dependency lifecycle scripts by default. However, this protection can be bypassed for git-hosted dependencies, which are able to execute prepare, prepublish, and prepack scripts during the fetch phase of installation. This allows an attacker controlling a git dependency to execute arbitrary code remotely without user approval. The vulnerability is fixed in version 10.26.0.
Potential Impact
An attacker who can supply a malicious git-hosted dependency can achieve remote code execution during the pnpm install process. This bypasses the intended security restriction that disables lifecycle script execution by default, potentially leading to full compromise of the environment running the install.
Mitigation Recommendations
Upgrade pnpm to version 10.26.0 or later, where this vulnerability is fixed. Until then, avoid using untrusted git-hosted dependencies. The vendor has provided an official patch addressing this issue.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- BREW-pnpm-CVE-2025-69264
- Osv Schema Version
- 1.7.3
- Ecosystems
- ["Homebrew"]
- Cvss Version
- 3.1
Patch Information
Threat ID: 6ac2c0b22cdf04f656523914
Added to database: 10/04/2026, 21:10:10 UTC
Last enriched: 10/04/2026, 21:17:26 UTC
Last updated: 10/04/2026, 21:17:26 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.