---
title: "pnpm 12.21.0: release notes, upgrades and advisories"
description: "pnpm 12.21.0: release notes, breaking changes by major version and 32 known advisories with their fix."
url: https://inlinr.com/packages/pnpm
lang: en
---

[Packages](https://inlinr.com/packages)

# pnpm

12.21.0 · 13 Nov 2026 MIT 358.4M / week [Repository](https://github.com/pnpm/pnpm) [Homepage](https://pnpm.io/) [npm](https://www.npmjs.com/package/pnpm) [Atom feed](https://inlinr.com/packages/feed/pnpm)

Your version 

## Where each line stands

[Plan an upgrade](https://inlinr.com/packages/pnpm/upgrade)

LineNewestSecurity

- 12.x 12.23.0 No known advisory Latest line
- 11.x 11.29.0 Safe from 11.11.0 [To 12.21.0](https://inlinr.com/packages/pnpm/upgrade/11.29.0-12.21.0)
- 10.x 10.34.9 Safe from 10.34.5 [To 12.21.0](https://inlinr.com/packages/pnpm/upgrade/10.34.9-12.21.0)
- 9.x and older 9.15.9 1886 open advisories, worst high  · last release Mar 2025, no longer updated [To 12.21.0](https://inlinr.com/packages/pnpm/upgrade/9.15.9-12.21.0)

## Latest releases

[All 1050 releases](https://inlinr.com/packages/pnpm/releases)

1. 12.x · latest line
2. ### [12.23.0](https://inlinr.com/packages/pnpm/releases/12.23.0 "Open this release") [](https://github.com/pnpm/pnpm/releases/tag/v12.23.0 "Read this release where it was published")  
22 Nov 2026

  - Security  
  `otp` is no longer read from any config file. Pass `--otp` on the command line, or set `PNPM_CONFIG_OTP`. A `pnpm-workspace.yaml` or a global `config.yaml` that carries `otp` is ignored, with a warning naming those two channels. `pnpm config set otp` fails with `ERR_PNPM_CONFIG_SET_NOT_A_FILE_SETTING`.  
  This closes a way to leak a secret. A repository could write `otp: ${NPM_TOKEN}` beside its own `registry:`, and `pnpm publish` sent that environment variable to the registry the same file named, in the `npm-otp` header of its first request [#13542](https://github.com/pnpm/pnpm/issues/13542 "https://github.com/pnpm/pnpm/issues/13542").
  - Security  
  Pnpm now sends registry credentials only over HTTPS or loopback HTTP, both for tarball downloads and for requests to `pnprServer`. Tarball and package metadata requests respect registry credential paths on redirects. A failed tarball request can no longer pin its redirect destination in the lockfile.
  - Security  
  `pnpm install` now rejects local filesystem dependencies (`file:`, `link:`, and path-based `workspace:` specifiers) declared by non-local packages with `ERR_PNPM_LOCAL_SUBDEP_NOT_ALLOWED`. Relative `file:` dependencies inside a package's own archive and local dependencies configured by the workspace through `overrides`, `packageExtensions`, or `.pnpmfile.cjs` continue to work. Lockfile verification also rejects unauthorized local directory, tarball, and link entries on non-importer snapshots.
3. ### [12.22.0](https://inlinr.com/packages/pnpm/releases/12.22.0 "Open this release") [](https://github.com/pnpm/pnpm/releases/tag/v12.22.0 "Read this release where it was published")  
17 Nov 2026

  - Security  
  `pnpm install` now re-verifies lockfile resolutions when the default registry or a scoped registry changes. Before, it reused the result cached for the previous registry and skipped the `minimumReleaseAge` and `trustPolicy` checks against the new one [#18070](https://github.com/pnpm/pnpm/pull/18070 "https://github.com/pnpm/pnpm/pull/18070").  
  For a registry with `serverType: pnpr`, `pnpm install` also verifies locked package revisions against the registry when no cached result applies.
  - Security  
  `pnpm dlx` no longer reuses a cached install made under looser `overrides`, `packageExtensions`, `minimumReleaseAge`, `trustPolicy`, `trustLockfile`, or `blockExoticSubdeps` settings. It also no longer applies `overrides`, `packageExtensions`, or `blockExoticSubdeps` from a local `pnpm-workspace.yaml` [#18075](https://github.com/pnpm/pnpm/pull/18075 "https://github.com/pnpm/pnpm/pull/18075").  
  `pnpm dlx --allow-build=!<pkg>` now denies build scripts for `<pkg>`, including the executed package itself. Denied packages also skip interactive build approval.
  - Security  
  `pnpm audit` now reports advisories whose `id` is a string. Such advisories were dropped, and `pnpm audit` reported no known vulnerabilities [#18184](https://github.com/pnpm/pnpm/issues/18184 "https://github.com/pnpm/pnpm/issues/18184").
4. ### [12.21.0](https://inlinr.com/packages/pnpm/releases/12.21.0 "Open this release") [](https://github.com/pnpm/pnpm/releases/tag/v12.21.0 "Read this release where it was published")  
13 Nov 2026

  - `pnpm store add` run in a project now prepares downloaded tarballs for every lockfile entry that pins them. Besides registry packages, `pnpm install --offline --frozen-lockfile` can then install dependencies on a tarball URL and dependencies on a git host such as GitHub whose lockfile entry records an `integrity`.
  - Pnpm now reads a lockfile with a mapping key longer than 1,024 characters written as `'key':`, without the `? ` marker. Before, `pnpm install` and other commands failed on such a lockfile with `ERR_PNPM_BROKEN_LOCKFILE`.
  - With `lockfile.format: v13`, `pnpm install` no longer fails to create or rewrite the lockfile when a package declares many of its dependencies as peers.

Dependency tracking

## Know when your own dependencies move

pnpm had 28 security advisories in the last 12 months. inlinr emails you the day one touches a project of yours, with the version that fixes it.

- Advisories reach you  
An email when a critical or high advisory affects a project, before the next install.
- Upgrades checked first  
Peer ranges, Node, ESM-only and types changes read before you bump.
- Only what matters  
Majors and breaking notes stay; patches and sibling bumps fold into one line.

[How dependency tracking works](https://inlinr.com/dependencies)

## Security

[All 32](https://inlinr.com/packages/pnpm/security)

- [pnpm: Virtual store linker path traversal via unvalidated depPath name in lockfileToDepGraph](https://inlinr.com/advisories/GHSA-c59q-g84q-2gj5) High · fixed in 11.11.0, 10.34.5
- [pnpm: A tarball dependency's manifest \`name\` escapes node\_modules → arbitrary file write/overwrite on install](https://inlinr.com/advisories/GHSA-vq4v-j7r6-jq4m) High · fixed in 11.11.0, 10.34.5
- [pnpm: Environment secrets exfiltrated via env-placeholder expansion in proxy settings read from an untrusted pnpm-workspace.yaml](https://inlinr.com/advisories/GHSA-vx52-2968-3vc6) High · fixed in 11.11.0, 10.34.5

## Health of 12.21.0

[Details](https://inlinr.com/packages/pnpm/security#signals)

- **Provenance**: Present
- **Publisher**: GitHub Actions
- **Maintainers**: 2
- **Scorecard**: 6.8 / 10
- **Size**: 4.8 MB

## Weekly downloads

## Same family

- [@pnpm/exe 9.4M/wk](https://inlinr.com/packages/@pnpm/exe)
- [@pnpm/pacquet 3.6k/wk](https://inlinr.com/packages/@pnpm/pacquet)

Registry facts last checked 18 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
