CVE-2026-35641 OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation
HighCVSS 8.4
EPSS 0.14%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: total
Description
OpenClaw before 2026.3.24 contains an arbitrary code execution vulnerability in local plugin and hook installation that allows attackers to execute malicious code by crafting a .npmrc file with a git executable override. During npm install execution in the staged package directory, attackers can leverage git dependencies to trigger execution of arbitrary programs specified in the attacker-controlled .npmrc configuration file.
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm openclaw | < 2026.3.24 | 2026.3.24 | Fixed |
| npm openclaw(npm) | < 2026.3.24; <= 2025.3.23 | 2026.3.24 | Fixed |
| openclaw | < 2026.3.24 | 2026.3.24 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm openclaw | < 2026.3.24 | 2026.3.24 |
| npm openclaw(npm) | <= 2025.3.23 | No fix listed |
| openclaw | < 2026.3.24 | 2026.3.24 |
| npm openclaw(npm) | < 2026.3.24 | 2026.3.24 |
References
- GitHub Security Advisory (GHSA-m3mh-3mpg-37hw) exploit mitigation vendor-advisory
- VulnCheck Advisory: OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation third-party-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product