A tarball dependency can make pnpm write files outside the project

high severity · published 2026-08-31

A crafted tarball dependency can use a scoped package name with path traversal, so pnpm extracts its files outside the node_modules folder during install. Attacker-controlled files can then overwrite arbitrary files on the filesystem.

Fixed in: 11.11.0

CVE: CVE-2026-101043, CVE-2026-82392, CVE-2026-82393

Source: GitHub Advisory

Am I affected?

You are affected if the installed version is older than 11.11.0. Check the version you have and update to 11.11.0 or later. The fixed version is verified against a vendor or advisory source.

Get the fix

FixLane has a reviewed fix procedure for this incident: a read-only check first, then the fix. Ask the Telegram bot, or connect an AI agent to the FixLane MCP server and call get_fix_prompt with incident id 190 and your operating system.