CVE-2026-24056: Pnpm@9 · pnpm has symlink traversal in file:/git dependencies
Affects pnpm@9Source GCVE Database
Not known to be exploited · CVSS 6.5 Medium.
Data as of 4 Nov 2026, 01:45 UTC
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/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
The suggested fix is to modify pnpm's code to use lstatSync to detect symlinks and reject those that point outside the package root directory. Until a fix is released, users should avoid installing untrusted file: or git: dependencies with pnpm >=9.15.4. Monitor the vendor advisory for official patches or updates.
Description
pnpm version 9.15.4 and later has a vulnerability where it follows symlinks in file: and git: dependencies without restricting access to the package root. This can lead to local file disclosure if a malicious package includes symlinks to sensitive files such as /etc/passwd or SSH keys. The issue does not affect registry packages published to npm, as symlinks are stripped there. The vulnerability has a CVSS score of 6.5 (medium severity).
References
- github.com/pnpm/pnpm/security/advisories/GHSA-m733-5w8f-5ggw (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-24056 (opens in a new tab)
- github.com/pnpm/pnpm/commit/b277b45bc35ae77ca72d7634d144bbd58a48b70f (opens in a new tab)
- github.com/pnpm/pnpm (opens in a new tab)
- github.com/pnpm/pnpm/releases/tag/v10.28.2 (opens in a new tab)