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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | pnpm | 10.33.4 | GHSA-hg3w-7f8c-63hp |
| npm | pnpm | 11.0.7 | GHSA-hg3w-7f8c-63hp |
Affected products (as reported)
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
- https://github.com/pnpm/pnpm/security/advisories/GHSA-hg3w-7f8c-63hp x_refsource_CONFIRM