top of page
perceptive_background_267k.jpg

pnpm is a package manager. Prior to 10.34.5 and from 11.0.0 until 11.11.0, pnpm parses the package name from attacker-controlled pnpm-lock.yaml packages keys wi…

Published:

31 augustus 2026 om 00:00:00

Alert date:

1 september 2026 om 00:05:29

Source:

nvd.nist.gov

Click to open the original link from this advisory

Supply Chain & Dependencies, Web Technologies

A path traversal vulnerability exists in pnpm package manager versions prior to 10.34.5 and from 11.0.0 until 11.11.0. The flaw stems from pnpm parsing package names from attacker-controlled pnpm-lock.yaml files without proper validation. The unvalidated package name is passed to path.join(), storeController.importPackage, and related functions, enabling package contents to be written outside the intended node_modules directory. If lifecycle scripts are permitted via dangerouslyAllowAllBuilds or a matching allowBuilds configuration, an attacker can achieve arbitrary code execution with the victim user's privileges. The attack vector requires a user to run pnpm install against a malicious or compromised lockfile. This represents a supply chain risk, particularly in CI/CD environments or shared repositories. Fixes are available in pnpm versions 10.34.5 and 11.11.0.

Technical details

Mitigation steps:

Affected products:

pnpm < 10.34.5
pnpm 11.0.0 - 11.10.x

Related links:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Deze website toont informatie afkomstig van externe bronnen; Perceptive aanvaardt geen verantwoordelijkheid voor de juistheid, volledigheid of actualiteit van deze informatie.

bottom of page