pnpm has Windows-specific tarball Path Traversal (CVE-2026-23889)
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
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
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.
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
Patch Information
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 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.