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.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/35xxx/CVE-2026-35641.json",
"cwe_ids": [
"CWE-349"
],
"cna_assigner": "VulnCheck"
}{
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "2026.3.24"
}
],
"source": [
"AFFECTED_FIELD",
"CPE_RANGE"
],
"cpe": "cpe:2.3:a:openclaw:openclaw:*:*:*:*:*:node.js:*:*"
}