{"id":"CVE-2026-35641","published":"2026-04-10T16:03:10Z","modified":"2026-06-23T16:16:01Z","title":"OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation","vendor":"OpenClaw","product":"OpenClaw","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00139,"percentile":0.0331,"provenance":"source"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"references":[{"url":"https://github.com/openclaw/openclaw/security/advisories/GHSA-m3mh-3mpg-37hw","tags":["vendor-advisory"]},{"url":"https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-npmrc-in-local-plugin-hook-installation","tags":["third-party-advisory"]}],"priority":{"score":6.1,"factors":[{"name":"EPSS percentile","points":0.66},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"openclaw","affectedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["< 2026.3.24"]}],"fixedVersions":[{"vendor":"OpenClaw","product":"OpenClaw","versions":["2026.3.24"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-04-14T14:30:45.970126Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"openclaw","vulnerableRanges":["<2026.3.24"],"patched":["2026.3.24"],"from":["GHSA-m3mh-3mpg-37hw"],"provenance":"source"}],"summary":{"text":"OpenClaw before 2026.3.24 has a flaw in its local plugin and hook installation process, where the npm install step run in the staged package directory trusts an attacker-controlled .npmrc file. Exploitation requires a local attack path with no privileges, and user interaction (such as installing a crafted plugin or hook), in which case the attacker can get arbitrary programs executed by supplying a git executable override in .npmrc that is triggered through git dependencies.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:21Z"},"euvd":{"id":"EUVD-2026-21436","exploited":false,"provenance":"source"}}