pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default"
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pnpm | pnpm | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Pnpm | Pnpm | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-379q-355j-w6rj | pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default" |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: 1.0% (1.013% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:pnpm:pnpm:*:*:*:*:*:*:node.js:* |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pnpm
Pnpm pnpm |
|
| Vendors & Products |
Pnpm
Pnpm pnpm |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | pnpm v10+ Bypass "Dependency lifecycle scripts execution disabled by default" | |
| Weaknesses | CWE-693 | |
| References |
| |
| Metrics |
cvssV3_1
|