Home / pnpm / pnpm / CVE-2023-37478
CVE-2023-37478: is it exploited, and which versions of pnpm are affected and fixed?
CVE-2023-37478 is an improper access control vulnerability in pnpm. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: pnpm before 7.33.4, @pnpm/exe before 7.33.4, @pnpm/linux-arm64 before 7.33.4 and 14 more (GitHub advisory GHSA-5r98-f33j-g8h7). Fixed in 7.33.4, 7.0.5 and 8.6.8 (GitHub advisory GHSA-5r98-f33j-g8h7). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:12 UTC and NVD November 19, 2026, 07:37 UTC.
What is CVE-2023-37478?
pnpm incorrectly parses tar archives relative to specification
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.
From the CVE record by GitHub_M, last updated October 10, 2024, 16:00 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pnpm | pnpm | < 7.33.4 >= 8.0.0, < 8.6.8 |
As the CVE record by GitHub_M states it, last updated October 10, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | pnpm | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/exe | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/linux-arm64 | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/linux-x64 | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/linuxstatic-arm64 | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/macos-arm64 | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/macos-x64 | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/win-x64 | < 7.33.4 | 7.33.4 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/cafs | < 7.0.5 | 7.0.5 | GHSA-5r98-f33j-g8h7 |
| npm | pnpm | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/exe | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/linux-arm64 | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/linux-x64 | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/linuxstatic-arm64 | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/macos-arm64 | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/macos-x64 | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
| npm | @pnpm/win-x64 | >= 8.0.0, < 8.6.8 | 8.6.8 | GHSA-5r98-f33j-g8h7 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated August 1, 2023. Summary: pnpm incorrectly parses tar archives relative to specification.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| pnpm | pnpm | before 7.33.4 | application |
| pnpm | pnpm | from 8.0.0 before 8.6.8 | application |
NVD analysis (status Modified), last modified June 17, 2026, 06:08 UTC.
How severe is CVE-2023-37478?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | GitHub_M |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-37478 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: total (CISA ADP, October 10, 2024)
- EPSS
- 1.20% probability of exploitation activity in the next 30 days, percentile 69.1 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-284 Improper Access Control
Where are the vendor advisories and references?
- https://github.com/pnpm/pnpm/security/advisories/GHSA-5r98-f33j-g8h7 x_refsource_CONFIRM
- https://github.com/pnpm/pnpm/releases/tag/v7.33.4 x_refsource_MISC
- https://github.com/pnpm/pnpm/releases/tag/v8.6.8 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- July 6, 2023
- Published
- August 1, 2023, 11:43 UTC
- CVE record updated
- October 10, 2024, 16:00 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 06:08 UTC
- Last checked
- CVE list November 19, 2026, 07:12 UTC; NVD November 19, 2026, 07:37 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect pnpm?
- Sep 27, 2026CVE-2026-101044 pnpm: path traversal (reading or writing files outside the intended folder)
- Sep 27, 2026CVE-2026-101043 pnpm: information disclosure in sent data
- Aug 31, 2026CVE-2026-82393 pnpm: path traversal (reading or writing files outside the intended folder)
- Aug 31, 2026CVE-2026-82392 pnpm: path traversal (reading or writing files outside the intended folder)
- Jul 6, 2026CVE-2026-59195 pnpm: path traversal (reading or writing files outside the intended folder)
- Jul 6, 2026CVE-2026-59196 pnpm: path traversal (reading or writing files outside the intended folder)
- Jul 6, 2026CVE-2026-59194 pnpm: path traversal (reading or writing files outside the intended folder)
- Jun 25, 2026CVE-2026-55180 pnpm: information disclosure
Questions about CVE-2023-37478
Is CVE-2023-37478 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 1.20% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of pnpm are affected by CVE-2023-37478?
pnpm before 7.33.4, @pnpm/exe before 7.33.4, @pnpm/linux-arm64 before 7.33.4, @pnpm/linux-x64 before 7.33.4, @pnpm/linuxstatic-arm64 before 7.33.4, @pnpm/macos-arm64 before 7.33.4 and 11 more, per the GitHub advisory GHSA-5r98-f33j-g8h7. The tables above give every range the sources list.
Which version fixes CVE-2023-37478?
7.33.4, 7.0.5 and 8.6.8, per the GitHub advisory GHSA-5r98-f33j-g8h7. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-37478?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-37478?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.