Skip to content

CVE-2026-48995 pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile

MediumCVSS 4.8 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known

Description

pnpm is a package manager. Prior to 10.33.4 and 11.0.7, a malicious codeload.github.com server can serve whatever tarball it wants and pnpm will install it regardless of the lockfile. The lockfile does not store the hash of the dependencies from https://codeload.github.com. This means that if this server was compromised or a person's machine configuration was compromised, pnpm would download and install these dependencies. This vulnerability is fixed in 10.33.4 and 11.0.7.

Affected products

ProductAffected versionsFixed in
pnpm = < 10.33.4 No fix listed
pnpm = >= 11.0.0, < 11.0.7 No fix listed
npm pnpm(npm) < 10.33.4 10.33.4
npm pnpm(npm) >= 11.0.0, < 11.0.7 11.0.7
pnpm < 10.33.4 10.33.4
pnpm >= 11.0.0, < 11.0.7 11.0.7

References