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
| Product | Affected versions | Fixed 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
- https://github.com/pnpm/pnpm/security/advisories/GHSA-hg3w-7f8c-63hp exploit vendor-advisory
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2493032 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product