Skip to main content

pnpm has Windows-specific tarball Path Traversal (CVE-2026-23889)

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

Description

pnpm versions prior to 10.28.1 contain a Windows-specific path traversal vulnerability in tarball extraction. The flaw arises because path normalization only checks for './' but not for Windows-style backslashes '\\', allowing malicious packages to write files outside the intended package directory on Windows systems. This can lead to overwriting critical files such as .npmrc or build configuration files, impacting Windows users and CI/CD pipelines using Windows runners. The issue is patched in version 10.28.1.

CVSS v3.1

Score 6.5medium

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

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:19 UTC

Technical Analysis

pnpm, a package manager, has a path traversal vulnerability (CVE-2026-23889) affecting Windows platforms due to improper path normalization during tarball extraction. The vulnerability occurs because the normalization logic fails to handle Windows backslash separators, allowing crafted packages to write files outside the package directory. This can overwrite important files like .npmrc or build configs, potentially disrupting builds or altering configurations. The vulnerability is fixed in pnpm version 10.28.1.

Potential Impact

On Windows systems, malicious packages can exploit this vulnerability to write or overwrite files outside the package directory, including sensitive configuration files such as .npmrc and build configuration files. This can lead to compromised build environments or altered package manager behavior. The vulnerability affects Windows users and Windows-based CI/CD pipelines (e.g., GitHub Actions Windows runners, Azure DevOps). There is no indication of confidentiality or availability impact, but integrity impact is high.

Mitigation Recommendations

Upgrade pnpm to version 10.28.1 or later, which contains the official patch addressing this Windows-specific path traversal vulnerability. Users should ensure their CI/CD pipelines and development environments on Windows are updated accordingly. No additional mitigations are indicated by the vendor advisory.

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-2026-23889
Osv Schema Version
1.7.3
Ecosystems
["Homebrew"]
Cvss Version
3.1

Threat ID: 6ac2c0b22cdf04f656523912

Added to database: 10/04/2026, 21:10:10 UTC

Last enriched: 10/04/2026, 21:17:19 UTC

Last updated: 10/04/2026, 21:17:19 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