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.
Published: 2026-06-25
Score: 4.8 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

p​npm does not record the hash of tarball dependencies retrieved from codeload.github.com in its lockfile. When the server that serves those tarballs is compromised or a user’s network path is manipulated, pnpm will download and install an arbitrary tarball without verifying its integrity. This flaw, a variant of insecure dependency verification (CWE‑494), can lead to the execution of malicious code during the installation of project dependencies, thereby compromising both confidentiality and integrity of the affected application.

Affected Systems

pnpm versions older than 10.33.4 in the 10.x series and older than 11.0.7 in the 11.x series. Projects that depend on GitHub tarballs accessed via codeload.github.com are affected.

Risk and Exploitability

The CVSS score of 4.8 classifies this issue as medium severity, while the EPSS score of <1% indicates a very low but nonzero chance of exploitation. It is not listed in CISA’s KEV catalog. The likely attack vector requires an attacker to control the codeload.github.com service or to tamper with the user’s network path (e.g., via a man‑in‑the‑middle attack). Given the potential for arbitrary code execution at install time, the risk is moderate, but exploitation probability remains low.

Generated by OpenCVE AI on August 2, 2026 at 01:28 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade pnpm to version 10.33.4 or later (or 11.0.7 or later) to enable hash verification for GitHub tarballs and reinstall all dependencies to regenerate the lockfile with proper hashes.
  • Apply network hardening measures such as enforcing HTTPS certificate pinning, using a trusted proxy, or implementing DNS filtering to prevent tampering with tarball downloads.
  • After the upgrade and reinstall, run a full integrity audit of the application build to confirm that no unexpected packages were introduced.

Generated by OpenCVE AI on August 2, 2026 at 01:28 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-hg3w-7f8c-63hp pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile
History

Tue, 07 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-494
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


Fri, 26 Jun 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 25 Jun 2026 21:30:00 +0000

Type Values Removed Values Added
First Time appeared Pnpm
Pnpm pnpm
Vendors & Products Pnpm
Pnpm pnpm

Thu, 25 Jun 2026 17:30:00 +0000

Type Values Removed Values Added
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.
Title pnpm: Tarball hash of GitHub git dependencies is not stored in lockfile
Weaknesses CWE-353
References
Metrics cvssV4_0

{'score': 4.8, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-06-26T02:11:55.249Z

Reserved: 2026-05-26T23:26:07.976Z

Link: CVE-2026-48995

cve-icon Vulnrichment

Updated: 2026-06-26T02:11:48.145Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-25T16:58:57Z

Links: CVE-2026-48995 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-02T01:30:04Z

Weaknesses
  • CWE-353

    Missing Support for Integrity Check

  • CWE-494

    Download of Code Without Integrity Check