Vulnerability · Published Jun 25, 2026 · Assigned by GitHub_M

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

Medium 4.8

In plain English

A medium-severity security flaw in pnpm from pnpm. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 7% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)4.8Medium
Exploit odds (30 days)0.2%top 93.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
npmpnpm10.33.4GHSA-hg3w-7f8c-63hp
npmpnpm11.0.7GHSA-hg3w-7f8c-63hp

Affected products (as reported)

VendorProductVersions
pnpm pnpm < 10.33.4>= 11.0.0, < 11.0.7

Weakness: CWE-353 · Vector: 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

References