pnpm
12.21.0 · 13 Nov 2026MIT358.4M / weekRepositoryHomepagenpmAtom feed
10.34.9 is the newest release of 10.x.
In short
1 deprecated5 new3 fixed
- Deprecated
Show deprecation in table/list formats when latest version is deprecated #8658.
Security
Fixes 2 advisories that affected 10.25.0
- Highpnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"GHSA-379q-355j-w6rj · 7 Jan 2026Fixed in 10.26.0
- Highpnpm Has Lockfile Integrity Bypass that Allows Remote Dynamic DependenciesGHSA-7vhp-vf5g-r2fw · 7 Jan 2026Fixed in 10.26.0
24 advisories affect 10.26.0; 10.34.5 fixes them
- Highpnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraphGHSA-c59q-g84q-2gj5 · 2 Sep 2026Fixed in 10.34.5
- Highpnpm: A tarball dependency's manifest `name` escapes node_modules → arbitrary file write/overwrite on installGHSA-vq4v-j7r6-jq4m · 2 Sep 2026Fixed in 10.34.5
- Highpnpm: Environment secrets exfiltrated via env-placeholder expansion in proxy settings read from an untrusted pnpm-workspace.yamlGHSA-vx52-2968-3vc6 · 1 Sep 2026Fixed in 10.34.5
- Highpnpm: Path traversal in configDependencies env lockfile allows symlink creation outside node_modules/.pnpm-configGHSA-qrv3-253h-g69c · 27 Jun 2026Fixed in 10.34.4
- Highpnpm: `patch-remove` could delete project-selected files outside the patches directoryGHSA-72r4-9c5j-mj57 · 27 Jun 2026Fixed in 10.34.4
19 more
- Highpnpm: Hoisted install imports lockfile alias outside node_modulesGHSA-fr4h-3cph-29xv · 27 Jun 2026Fixed in 10.34.4
- Highpnpm: Project env lockfile can short-circuit package-manager resolution and execute lockfile-selected pnpm bytesGHSA-w466-c33r-3gjp · 26 Jun 2026Fixed in 10.34.2
- Highpnpm: Repository-controlled configDependencies can select a pacquet native install engineGHSA-gj8w-mvpf-x27x · 26 Jun 2026Fixed in 10.34.2
- Highpnpm: Manifest identity spoof satisfies allowBuilds and runs attacker lifecycleGHSA-5wx6-mg75-v57r · 26 Jun 2026Fixed in 10.34.2
- Highpnpm Vulnerable to Arbitrary File Write/Delete via Malicious Patch File (Path Traversal)GHSA-rxhj-4m44-96r4 · 26 Jun 2026Fixed in 10.34.0
- Highpnpm: Transitive dependency alias path traversal allows project path override via symlink replacementGHSA-hwx4-2j3j-g496 · 26 Jun 2026Fixed in 10.34.0
- Highpnpm vulnerable to Command Injection via environment variable substitutionGHSA-2phv-j68v-wwqx · 7 Jan 2026Fixed in 10.27.0
- Moderatepnpm: Reserved bin name deletes PNPM_HOME during global removeGHSA-4gxm-v5v7-fqc4 · 26 Jun 2026Fixed in 10.34.2
- Moderatepnpm: Repository config can expand victim environment secrets into registry requests before scripts runGHSA-3qhv-2rgh-x77r · 26 Jun 2026Fixed in 10.34.2
- Moderatepnpm binds unscoped user-level npm auth credentials to a repository-selected registryGHSA-cjhr-43r9-cfmw · 26 Jun 2026Fixed in 10.34.0
- Moderatepnpm: Git Fetch Argument Injection via Lockfile resolution.commitGHSA-p4xf-rf54-rj3x · 26 Jun 2026Fixed in 10.34.0
- Moderatepnpm Has an Integrity Check Bypass via Missing Lockfile Integrity FieldGHSA-q6j5-fjx5-2mc3 · 26 Jun 2026Fixed in 10.34.1
- Moderatepnpm: Unsafe default behavior breaks integrity checkGHSA-54hh-g5mx-jqcp · 26 Jun 2026Fixed in 10.34.0
- Moderatepnpm: Tarball hash of GitHub git dependencies is not stored in lockfileGHSA-hg3w-7f8c-63hp · 26 Jun 2026Fixed in 10.33.4
- Moderatepnpm has Path Traversal via arbitrary file permission modification GHSA-v253-rj99-jwpq · 26 Jan 2026Fixed in 10.28.2
- Moderatepnpm: Binary ZIP extraction allows arbitrary file write via path traversal (Zip Slip)GHSA-6pfh-p556-v868 · 26 Jan 2026Fixed in 10.28.1
- Moderatepnpm has Windows-specific tarball Path TraversalGHSA-6x96-7vc8-cm3p · 26 Jan 2026Fixed in 10.28.1
- Moderatepnpm scoped bin name Path Traversal allows arbitrary file creation outside node_modules/.binGHSA-xpqm-wm3m-f34h · 26 Jan 2026Fixed in 10.28.1
- Moderatepnpm has symlink traversal in file:/git dependenciesGHSA-m733-5w8f-5ggw · 26 Jan 2026Fixed in 10.28.2
Release note
Minor Changes
Semi-breaking. Block git-hosted dependencies from running prepare scripts unless explicitly allowed in
onlyBuiltDependencies#10288.Semi-breaking. Compute integrity hash for HTTP tarball dependencies when fetching, storing it in the lockfile to prevent servers from serving altered content on subsequent installs #10287.
Added a new setting
blockExoticSubdepsthat prevents the resolution of exotic protocols in transitive dependencies.When set to
true, direct dependencies (those listed in your rootpackage.json) may still use exotic sources, but all transitive dependencies must be resolved from a trusted source. Trusted sources include the configured registry, local file paths, workspace links, trusted GitHub repositories (node, bun, deno), and custom resolvers.This helps to secure the dependency supply chain. Packages from trusted sources are considered safer, as they are typically subject to more reliable verification and scanning for malware and vulnerabilities.
Exotic sources are dependency locations that bypass the usual trusted resolution process. These protocols are specifically targeted and blocked: Git repositories (
git+ssh://...) and direct URL links to tarballs (https://.../package.tgz).Related PR: #10265.
Added support for
allowBuilds, which is a new field that can be used instead ofonlyBuiltDependenciesandignoredBuiltDependencies. The newallowBuildsfield in yourpnpm-workspace.yamluses a map of package matchers to explicitly allow (true) or disallow (false) script execution. This allows for a single, easy-to-manage source of truth for your build permissions.Example Usage. To explicitly allow all versions of
esbuildto run scripts and preventcore-jsfrom running them:allowBuilds: esbuild: true core-js: false
The example above achieves the same result as the previous configuration:
onlyBuiltDependencies: - esbuild ignoredBuiltDependencies: - core-js
Related PR
Added support for
--dry-runto thepackcommand #10301.
Patch Changes
- Deprecated
Show deprecation in table/list formats when latest version is deprecated #8658.
Remove the
injectWorkspacePackagessetting from the lockfile on thedeploycommand #10294.Normalize the tarball URLs before saving them to the lockfile. URLs should not contain default ports, like :80 for http and :443 for https #10273.
When a dependency is installed via a direct URL that redirects to another URL and is immutable, the original URL is normalized and saved to
package.json#10197.
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.