CVE-2023-37478Pnpm
Critical 9.8 No auth needed
Follow: this CVE · Pnpm · Pnpm We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- No
- Published
- Aug 1, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-284
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
pnpm is a package manager. It is possible to construct a tarball that, when installed via npm or parsed by the registry is safe, but when installed via pnpm is malicious, due to how pnpm parses tar archives. This can result in a package that appears safe on the npm registry or when installed via npm being replaced with a compromised or malicious version when installed via pnpm. This issue has been patched in version(s) 7.33.4 and 8.6.8.
What to do
- Apply the vendor's security update for Pnpm.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @pnpm/cafs |
< 7.0.5 |
7.0.5 |
npm install @pnpm/cafs@7.0.5 |
| npm | @pnpm/exe |
< 7.33.4 |
7.33.4 |
npm install @pnpm/exe@7.33.4 |
| npm | @pnpm/exe |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/exe@8.6.8 |
| npm | @pnpm/linux-arm64 |
< 7.33.4 |
7.33.4 |
npm install @pnpm/linux-arm64@7.33.4 |
| npm | @pnpm/linux-arm64 |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/linux-arm64@8.6.8 |
| npm | @pnpm/linux-x64 |
< 7.33.4 |
7.33.4 |
npm install @pnpm/linux-x64@7.33.4 |
| npm | @pnpm/linux-x64 |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/linux-x64@8.6.8 |
| npm | @pnpm/linuxstatic-arm64 |
< 7.33.4 |
7.33.4 |
npm install @pnpm/linuxstatic-arm64@7.33.4 |
| npm | @pnpm/linuxstatic-arm64 |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/linuxstatic-arm64@8.6.8 |
| npm | @pnpm/macos-arm64 |
< 7.33.4 |
7.33.4 |
npm install @pnpm/macos-arm64@7.33.4 |
| npm | @pnpm/macos-arm64 |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/macos-arm64@8.6.8 |
| npm | @pnpm/macos-x64 |
< 7.33.4 |
7.33.4 |
npm install @pnpm/macos-x64@7.33.4 |
| npm | @pnpm/macos-x64 |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/macos-x64@8.6.8 |
| npm | @pnpm/win-x64 |
< 7.33.4 |
7.33.4 |
npm install @pnpm/win-x64@7.33.4 |
| npm | @pnpm/win-x64 |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install @pnpm/win-x64@8.6.8 |
| npm | pnpm |
< 7.33.4 |
7.33.4 |
npm install pnpm@7.33.4 |
| npm | pnpm |
≥ 8.0.0 < 8.6.8 |
8.6.8 |
npm install pnpm@8.6.8 |
Per OSV / GitHub Advisories (GHSA-5r98-f33j-g8h7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pnpm | pnpm | < 7.33.4 |
| pnpm | pnpm | ≥ 8.0.0 < 8.6.8 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory