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
- github.com/pnpm/pnpm/security/advisories/GHSA-379q-355j-w6rj · Exploit
- github.com/pnpm/pnpm/commit/73cc63504d9bc360c43e4b2feb9080677f03c5b5 · Patch
- nvd.nist.gov/vuln/detail/CVE-2025-69264
- github.com/advisories/GHSA-379q-355j-w6rj
- access.redhat.com/security/cve/CVE-2025-69264
- bugzilla.redhat.com/show_bug.cgi?id=2427709
- security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69264.json
- nvd.nist.gov/vuln/detail/CVE-2025-69264
- cve.org/CVERecord?id=CVE-2025-69264
More vulnerabilities in Pnpm products
CVE-2026-24131CVE-2026-24056CVE-2026-23890CVE-2026-23889CVE-2026-23888CVE-2025-69263CVE-2025-69262CVE-2024-53866All 12
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.