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

- Severity: Medium 4.8 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T16:58:57.536Z
- Modified: 2026-06-29T20:30:18.520Z
- Also known as: GHSA-hg3w-7f8c-63hp
- Weaknesses: CWE-353
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pnpm pnpm: < 10.33.4; >= 11.0.0, < 11.0.7; before 10.33.4; from 11.0.0 before 11.0.7
- pnpm (npm): before 10.33.4; from 11.0.0 before 11.0.7

## Every score

- GitHub_M: CVSS:4.0 4.8 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`
- GitHub: CVSS:4.0 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`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pnpm/pnpm/security/advisories/GHSA-hg3w-7f8c-63hp> (exploit, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48995> (advisory)
- <https://github.com/pnpm/pnpm> (package)

## Sources

- CVE List: [CVE-2026-48995](https://www.cve.org/CVERecord?id=CVE-2026-48995), CVE Terms of Use, modified 2026-06-26
- GitHub Advisory Database: [GHSA-hg3w-7f8c-63hp](https://github.com/advisories/GHSA-hg3w-7f8c-63hp), CC-BY-4.0, modified 2026-06-26
- NVD: [CVE-2026-48995](https://nvd.nist.gov/vuln/detail/CVE-2026-48995), Public domain, modified 2026-06-29

---

Page: https://cve.day/CVE-2026-48995 · Whole record: https://cve.day/CVE-2026-48995.json · Rebuilt by cve.day 2026-11-25T22:59:26.394Z
