High severityOSV Advisory· Published Jan 7, 2026· Updated Feb 26, 2026
pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
CVE-2025-69264
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pnpmnpm | >= 10.0.0, < 10.26.0 | 10.26.0 |
Affected products
2Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-379q-355j-w6rjghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-69264ghsaADVISORY
- github.com/pnpm/pnpm/commit/73cc63504d9bc360c43e4b2feb9080677f03c5b5ghsax_refsource_MISCWEB
- github.com/pnpm/pnpm/security/advisories/GHSA-379q-355j-w6rjghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.