CVE 4.8 MEDIUM

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

4.8 / 10
MEDIUM
CVSS: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:U

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.

Basic Information

ID CVE-2026-48995
Source GitHub_M
Published Jun 25, 2026 at 16:58

Affected Product

Vendor pnpm
Product pnpm
Version < 10.33.4
Affected Versions pnpm pnpm < 10.33.4
pnpm pnpm >= 11.0.0, < 11.0.7

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.