CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2025 · Pnpm

CVE-2025-69264
Pnpm vulnerability

pnpm is a package manager. Versions 10.0.0 through 10.25 allow git-hosted dependencies to execute arbitrary code during pnpm install, circumventing the v10 security feature "Dependency lifecycle scripts execution disabled by default". While pnpm v10 blocks postinstall scripts via the onlyBuiltDependencies mechanism, git dependencies can still execute prepare, prepublish, and prepack scripts during the fetch phase, enabling remote code execution without user consent or approval. This issue is fixed in version 10.26.0.

Affected products

Pnpm. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Pnpm runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Pnpm products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.