CVE-2026-24131: pnpm has Path Traversal via arbitrary file permission modification
Affects pnpmSource GCVE Database
Not known to be exploited · CVSS 6.7 Medium : upgrade to 10.28.2 when convenient.
Data as of 18 Nov 2026, 20:25 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 19% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 10.28.2
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA: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 18 Nov 2026.
What to do
Upgrade pnpm to 10.28.2.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewpnpmpkg:brew/pnpmOther 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
A patch is available and the vulnerability is fixed in pnpm version 10.28.2. Users should upgrade to version 10.28.2 or later to remediate this issue. No additional mitigation steps are indicated by the vendor advisory.
Description
pnpm versions prior to 10.28.2 contain a path traversal vulnerability in the handling of the directories.bin field of packages. This vulnerability allows a malicious package to specify a path outside the package root, causing pnpm to change file permissions (chmod 755) on arbitrary files on Unix-like systems. Windows systems are not affected. The issue is fixed in version 10.28.2.
References
- github.com/pnpm/pnpm/releases/tag/v10.28.2 (opens in a new tab)
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/24xxx/CVE-2026-24131.json (opens in a new tab)
- github.com/pnpm/pnpm/security/advisories/GHSA-v253-rj99-jwpq (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-24131 (opens in a new tab)
- github.com/pnpm/pnpm/commit/17432ad5bbed5c2e77255ca6d56a1449bbcfd943 (opens in a new tab)