CVE-2026-23889 Details
Description
pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's tarball extraction allows malicious packages to write files outside the package directory on Windows. The path normalization only checks for `./` but not `.\`. On Windows, backslashes are directory separators, enabling path traversal. This vulnerability is Windows-only. This issue impacts Windows pnpm users and Windows CI/CD pipelines (GitHub Actions Windows runners, Azure DevOps). It can lead to overwriting `.npmrc`, build configs, or other files. Version 10.28.1 contains a patch.
A path traversal vulnerability has been identified in pnpm, a package manager, prior to version 10.28.1. This vulnerability allows malicious packages to write files outside the package directory on Windows systems. The issue arises because the path normalization process only checks for './' and not for '.\', which is crucial on Windows where backslashes serve as directory separators. As a result, paths like 'foo\..\..\.npmrc' can be used to traverse directories and overwrite files outside the intended location. This vulnerability affects Windows pnpm users and CI/CD pipelines using GitHub Actions Windows runners or Azure DevOps. Exploitation can lead to the unintentional modification of important files such as '.npmrc' or build configuration files.
Users should update to pnpm version 10.28.1 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jan 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pnpm pnpm | < 10.28.1 |
CPE
Remediation
| |
| microsoft windows | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 28, 2026 | Initial Analysis | [email protected] |
| Jan 26, 2026 | New CVE Received | [email protected] |