Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore
Security NewsVulnerability Advisory

pnpm Global Virtual Store Escape: CVE-2026-145650 Fix

pnpm global virtual store vulnerability CVE-2026-145650 affects v12 installs with the setting enabled. Check exposure and upgrade to patched pnpm 12.10.0.

By
Brandefense Research Team
Reviewed by
Brandefense Analyst Team
Published
6 December 2026
Reading time
3 min read
Abstract package path crossing a bounded storage area

pnpm global virtual store vulnerability CVE-2026-145650 affects pnpm 12.0.0 through versions before 12.10.0 when the global virtual store is enabled. A malicious dependency can make a resolving install write files outside the store. pnpm lists 12.10.0 as the patched version, so teams using this mode should upgrade and verify the installed version. A vulnerability intelligence platform can help organize the source, affected version and response decision.

The pnpm security advisory describes a proof of concept for the flaw. Its demonstration does not establish that attackers have used the flaw against organizations. The CVE record, published December 6, assigns CVSS 4.0 and CVSS 3.1 scores of 10.0, both Critical, from CNA VulnCheck.

Which pnpm Installs Need the 12.10.0 Fix?

The setting enable-global-virtual-store=true is the exposure condition. The pnpm advisory says it is disabled by default, but users and supported installation paths can enable it. The risky operation is a fresh or resolving install of a dependency controlled by an attacker. That can include direct or transitive dependencies supplied as tarballs or through Git.

Package and condition Affected versions Patched version
pnpm with global virtual store enabled 12.0.0 to before 12.10.0 12.10.0

Check the pnpm version and effective global virtual store setting in developer machines and CI jobs. Review workflows that accept dependency changes from outside the team, including pull requests. A frozen lockfile follows a different validation path in the advisory; that distinction does not replace the version upgrade. Record the version and setting for each environment before deciding its exposure.

How the pnpm Global Virtual Store Vulnerability Works

pnpm constructs a store slot using the dependency name, version and a hash. According to the advisory, the resolving path accepts a version from a dependency manifest without checking whether it remains a safe path component. A malicious dependency can therefore turn that version into a path outside the intended store. The installer then creates the directory and imports dependency files there.

The advisory says the frozen-lockfile path checks store containment before writing. Its fresh or resolving path does not run that check before materialization. This difference is why a new or changed dependency is central to the attack chain. The resulting write can overwrite files outside the store, and the advisory describes possible code execution if sensitive executable locations are affected.

Teams can place dependency review and CI configuration checks within their software supply chain risk process. The dependency review must accompany installation of the patched pnpm version.

What Should Maintainers Do Now?

Upgrade affected installations to pnpm 12.10.0, then confirm the version used by each job rather than assuming a developer upgrade changed CI. Check whether the global virtual store setting is enabled in project, user or runner configuration. Where an immediate upgrade is unavailable, the advisory recommends keeping that setting disabled for installs of untrusted dependencies.

pnpm response checks
  • InventoryIdentify pnpm v12 installations and their effective global virtual store setting.
  • UpdateMove exposed installations to pnpm 12.10.0.
  • VerifyConfirm the version used by local builds and CI runners after updating.
  • ReviewExamine recent resolving installs involving untrusted dependency changes.

For a suspected exposure, preserve the affected lockfile, dependency provenance, build logs and runner state for investigation. Review file changes outside the expected package store, especially around a resolving install. These are Brandefense triage recommendations based on the advisory’s write primitive, not a reported intrusion pattern. The software supply chain compromise reference provides broader context for dependency trust reviews.

Brandefense Blackhole counted 2 dark chat posts referencing CVE-2026-145650 from September 7 through December 6, 2026. That count measures posts in this source, not incidents, affected systems or successful exploitation. Keep the patch decision tied to the documented exposure condition and pnpm’s fixed version.

Frequently Asked Questions

Is the global virtual store enabled by default?

The pnpm advisory says the setting is off by default. Check effective settings in projects, developer machines and CI because it can be enabled explicitly.

Which pnpm version fixes CVE-2026-145650?

The pnpm advisory and CVE record list 12.10.0 as the patched version. Verify that local and CI installs actually use it.

Does the proof of concept show active attacks?

The advisory documents a proof of concept for the flaw. A demonstration does not establish deployment against organizations.

Sources

  1. pnpm, GHSA-jg5c-8mvg-5wph, November 20, 2026
  2. CVE Program, CVE-2026-145650, December 6, 2026
Share this articleLinkedInXEmail
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →