pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
Upgrading pnpm From 11.10.0 to 11.11.0
1 release in betweenevery note read
- 0
- changes to make
- 3
- advisories fixed
- 3
- new
- 11
- fixes
Security
Fixes 3 advisories affecting 11.10.0
- 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
- 11.11.0
Fixed a path traversal vulnerability where a dependency whose manifest
namewas a scoped path traversal (e.g.@x/../../../<path>) could be written outsidenode_modulesto an attacker-controlled location duringpnpm install, even with--ignore-scripts. The isolated linker now validates the package name before using it as a directory name, matching the existing protection in the hoisted linker.
Release by release
- Security
Fixed a path traversal vulnerability where a dependency whose manifest
namewas a scoped path traversal (e.g.@x/../../../<path>) could be written outsidenode_modulesto an attacker-controlled location duringpnpm install, even with--ignore-scripts. The isolated linker now validates the package name before using it as a directory name, matching the existing protection in the hoisted linker. - New
Added the
pnpm accesscommand for managing package access and visibility on the registry, supporting listing packages and collaborators, getting and setting package status and MFA requirements, and granting or revoking team access. - New
Allow
allowBuildsentries for git-hosted packages to match by repository URL without pinning the resolved commit hash. This lets trusted git repositories keep running their build scripts after branch updates without approving each new commit, while package-name-only rules still do not approve git-hosted artifacts. - New
Allow
registriesandnamedRegistriesto be configured in the globalconfig.yamlfile.
- 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.