CVE-2025-69264
published high CVSS 3.1 · 8.8pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pnpm | — | pnpm> 10.0.0, < 10.26.0 | Affected | Not stated | GitHub_M |
| Red Hat | — | org.keycloak-keycloak-parentRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | org.keycloak-keycloak-parentRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Alpine Linux | v3.23 | pnpm | Fixed | 10.33.4-r0 | Package fix record |
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.
A code execution vector has been discovered in pnpm. 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.8 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pnpm | pnpm | > 10.0.0, < 10.26.0 (affected) | GitHub_M · cna |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-693 CWE-693: Protection Mechanism Failure
- CWE-693 Protection Mechanism Failure
References
5- https://access.redhat.com/security/cve/CVE-2025-69264
- RHBZ#2427709 https://bugzilla.redhat.com/show_bug.cgi?id=2427709
- https://github.com/pnpm/pnpm/commit/73cc63504d9bc360c43e4b2feb9080677f03c5b5
- https://github.com/pnpm/pnpm/security/advisories/GHSA-379q-355j-w6rj
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-69264.json
Provider assertions
3GitHub_M · cna
pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
redhat-SADP · adp
pnpm: pnpm code execution
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f56e990f4b03f01aa48b61b7a5dcc9673a4a334ab5b01a1f5ed2349518977198
- Ingested
- 23 Sep 2026, 08:57:29 UTC
- Source record
- Official CVE record