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.
Metrics
CVSS 3.1 7.8/10
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| OpenClaw | OpenClaw | < 2026.3.24 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-m3mh-3mpg-37hwExploit, Mitigation, Vendor Advisory
- https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-npmrc-in-local-plugin-hook-installationThird Party Advisory
- https://github.com/openclaw/openclaw/security/advisories/GHSA-m3mh-3mpg-37hwExploit, Mitigation, Vendor Advisory
Timeline
- Published
- Apr 10, 2026
- Last modified
- Jun 17, 2026
- NVD status
- Modified