CVE-2026-23888: pnpm · Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)
Affects pnpm@9Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 4 Nov 2026, 01:46 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 13 Aug 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpnpm@9pkg:brew/pnpm%409Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid installing untrusted packages containing binary assets and avoid using untrusted or manipulated BinaryResolution.prefix values. Monitoring vendor advisories for an official fix is recommended.
Description
A path traversal vulnerability in pnpm's binary fetcher allows malicious ZIP archives or crafted extraction prefixes to write files outside the intended directory. This can lead to overwriting sensitive files such as configuration files. The flaw arises from AdmZip's extractAllTo method not validating ZIP entry paths and from unvalidated prefix concatenation in the extraction path. The vulnerability affects pnpm versions 9.15.4 and later. The CVSS score is 6.5 (medium severity).
References
- github.com/pnpm/pnpm/security/advisories/GHSA-6pfh-p556-v868 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-23888 (opens in a new tab)
- github.com/pnpm/pnpm/commit/5c382f0ca3b7cc49963b94677426e66539dcb3f5 (opens in a new tab)
- github.com/pnpm/pnpm (opens in a new tab)
- github.com/pnpm/pnpm/releases/tag/v10.28.1 (opens in a new tab)