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.
Security readout for executives and security teams
Plain-English summary
pnpm 10.0.0 through before 10.26.0 can run code from git-hosted dependencies during installation, despite pnpm v10’s intended default block on dependency lifecycle scripts. This can expose developer workstations and CI systems if they install a malicious or compromised git dependency.
Executive priority
Treat as urgent for software engineering and build infrastructure. The issue can turn dependency installation into code execution, which may affect source code, secrets, artifacts, and release pipelines. Patch quickly where pnpm 10 is used.
Technical view
The bypass affects pnpm’s handling of git-hosted dependencies. During fetch, prepare, prepublish, and prepack scripts may execute even though postinstall scripts are restricted by onlyBuiltDependencies. The advisory describes arbitrary code execution during pnpm install with user interaction required. Fixed in pnpm 10.26.0.
Likely exposure
Projects using pnpm versions 10.0.0 to before 10.26.0 are exposed, especially where package manifests or lockfiles include git-hosted dependencies. CI/CD runners, build agents, and developer machines are the most likely impacted environments.
Exploitation context
No cited source or KEV entry indicates active exploitation. Exploitation requires a user or automation to run pnpm install against a dependency graph containing a malicious or compromised git-hosted package with relevant lifecycle scripts.
Researcher notes
Evidence is strongest for pnpm 10.0.0 through 10.25.x and git-hosted dependencies. The issue is categorized as CWE-693 with CVSS 8.8. Sources identify the fix commit and advisory but do not provide evidence of exploitation in the wild.
Mitigation direction
Upgrade pnpm to version 10.26.0 or later.
Review projects for git-hosted dependencies before installing with affected pnpm versions.
Prioritize CI/CD and developer build environments for remediation.
Check pnpm’s advisory for any additional vendor guidance.
Validation and detection
Inventory pnpm versions on developer machines and build runners.
Identify repositories using pnpm 10.0.0 through 10.25.x.
Review package manifests and lockfiles for git-hosted dependencies.
Confirm upgraded environments report pnpm 10.26.0 or later.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-693: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-693 · source CWE mapping
Protection Mechanism Failure
Protection Mechanism Failure represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.