Skip to main content

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

0
High
Published: 08/13/2026 (08/13/2026, 17:28:25 UTC)
Source: GCVE Database
Product: pnpm

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected software

Homebrewmore threats →ghsa
pnpm
pkg:brew/pnpm
Affected versions
<11.21.0

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

AILast updated: 10/04/2026, 21:17:26 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses