CVE-2026-48995

pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile

State
Published
Severity
4.8 Medium
Published
Jun 25, 2026
Updated
Jun 26, 2026
Reserved
May 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.04.8 MediumCVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:UGitHub_M

Weaknesses

  • CWE-353 Missing Support for Integrity Check

Affected Products

ProductVersions
pnpmpnpm
  • < 10.33.4Affected
  • >= 11.0.0, < 11.0.7Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.