Security mailing lists by PureSourceCode

CVE-2026-48995

MEDIUM 4.8CVSS 4.0

pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile

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.

Published
25 Jun 2026
Last modified
29 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-353
Also known as
GHSA-hg3w-7f8c-63hp
Sources
NVDJSONOSV GHSA-hg3w-7f8c-63hpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 4.8 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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 nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD pnpm pnpm
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*
< 10.33.4 10.33.4
NVD pnpm pnpm
cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:node.js:*:*
>= 11.0.0, < 11.0.7 11.0.7
OSV npm pnpm < 10.33.4 10.33.4
OSV npm pnpm >= 11.0.0, < 11.0.7 11.0.7

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 25 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.