Interpretation Conflict in pnpm - CVE-2023-37478
Published: August 1, 2023 / Updated: April 27, 2026
pnpm
pnpm
Description
The vulnerability allows a remote attacker to cause installation of a malicious package version.
The vulnerability exists due to improper handling of duplicate archive entries in tar archive parsing in tar archive extraction in pnpm when processing a crafted tarball. A remote attacker can supply a specially crafted package tarball to cause installation of a malicious package version.
The issue arises because pnpm uses the first file with a given name in the archive, while other package managers are expected to use the last matching entry after path component stripping.