pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 10.34.3 to 10.34.4
1 release in betweenevery note read
- 0
- changes to make
- 3
- advisories fixed
- 0
- new
- 3
- fixes
Security
3 advisories still affect 10.34.4
- pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraphhigh · GHSA-c59q-g84q-2gj5
- pnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on installhigh · GHSA-vq4v-j7r6-jq4m
- pnpm: Environment secrets exfiltrated via env-placeholder expansion in proxy settings read from an untrusted pnpm-workspace.yamlhigh · GHSA-vx52-2968-3vc6
Upgrading to 10.34.5 clears them.
Fixes 3 advisories affecting 10.34.3
- pnpm: `patch-remove` could delete project-selected files outside the patches directoryhigh · GHSA-72r4-9c5j-mj57
- pnpm: Hoisted install imports lockfile alias outside node_moduleshigh · GHSA-fr4h-3cph-29xv
- pnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-confighigh · GHSA-qrv3-253h-g69c
- 10.34.4
Security: validate config dependency names and versions before using them to build filesystem paths. A
pnpm-workspace.yamlwith a traversal-shapedconfigDependenciesname (such as../../PWNED) or version (such as../../../PWNED) could previously causepnpm installto create symlinks or write package files outsidenode_modules/.pnpm-configand the store. Names must now be valid npm package names and versions must be exact semver versions. See GHSA-qrv3-253h-g69c. - 10.34.4
See GHSA-fr4h-3cph-29xv.
Release by release
- Security
Security: validate config dependency names and versions before using them to build filesystem paths. A
pnpm-workspace.yamlwith a traversal-shapedconfigDependenciesname (such as../../PWNED) or version (such as../../../PWNED) could previously causepnpm installto create symlinks or write package files outsidenode_modules/.pnpm-configand the store. Names must now be valid npm package names and versions must be exact semver versions. See GHSA-qrv3-253h-g69c. - Security
See GHSA-fr4h-3cph-29xv.
- Fixed
Reject path-traversal and reserved dependency aliases (such as
../../../escape,.bin,.pnpm, ornode_modules) that come from a lockfile rather than a freshly resolved manifest. A crafted lockfile alias could otherwise be joined directly under a hoistednode_modulesdirectory, letting package files be written outside the intended install root or overwrite pnpm-owned layout. - Fixed
Prevent
pnpm patch-removefrom removing files outside the configured patches directory. - Fixed
Hardened the warning printed when a project
.npmrcuses environment variables in registry/auth settings: the suggestedpnpm config setcommand is now only included for keys made up of shell-inert characters. Because the key comes from a repository-controlled.npmrcand a shell expands$(...), backticks, and$VAReven inside double quotes, a crafted key could otherwise have turned the suggested copy-paste command into command execution.
- Security
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.