CVE-2026-23888
Last modified
CVE-2026-23888 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's binary fetcher allows malicious packages to write files outside the intended extraction directory. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
Description
pnpm is a package manager. Prior to version 10.28.1, a path traversal vulnerability in pnpm's binary fetcher allows malicious packages to write files outside the intended extraction directory. The vulnerability has two attack vectors: (1) Malicious ZIP entries containing `../` or absolute paths that escape the extraction root via AdmZip's `extractAllTo`, and (2) The `BinaryResolution.prefix` field is concatenated into the extraction path without validation, allowing a crafted prefix like `../../evil` to redirect extracted files outside `targetDir`. The issue impacts all pnpm users who install packages with binary assets, users who configure custom Node.js binary locations and CI/CD pipelines that auto-install binary dependencies. It can lead to overwriting config files, scripts, or other sensitive files leading to RCE. Version 10.28.1 contains a patch.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pnpm | Pnpm | < 10.28.1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-23888?
How severe is CVE-2026-23888?
How do I fix CVE-2026-23888?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-23882Blinko is an AI-powered card note-taking project. Prior to v…7.2
- CVE-2026-23883FreeRDP is a free implementation of the Remote Desktop Proto…9.8
- CVE-2026-23884FreeRDP is a free implementation of the Remote Desktop Proto…9.8
- CVE-2026-23885Alchemy is an open source content management system engine w…9.9
- CVE-2026-23886Swift W3C TraceContext is a Swift implementation of the W3C …5.3
- CVE-2026-23887Group-Office is an enterprise customer relationship manageme…5.4
- CVE-2026-23889pnpm is a package manager. Prior to version 10.28.1, a path …6.5
- CVE-2026-2389The Complianz – GDPR/CCPA Cookie Consent plugin for WordPres…4.9
- CVE-2026-23890pnpm is a package manager. Prior to version 10.28.1, a path …6.5
- CVE-2026-23891Decidim is a participatory democracy framework. In versions …8.7
- CVE-2026-23892OctoPrint provides a web interface for controlling consumer …5.9
- CVE-2026-23893openCryptoki is a PKCS#11 library and provides tooling for L…6.8
Are you affected by CVE-2026-23888?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
