CVE-2026-35641

HIGH

OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation

Title source: cna
STIX 2.1

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.

References (2)

Core 2
Core References
Third Party Advisory third-party-advisory
GitHub Security Advisory (GHSA-m3mh-3mpg-37hw)
https://github.com/openclaw/openclaw/security/advisories/GHSA-m3mh-3mpg-37hw
Third Party Advisory third-party-advisory
VulnCheck Advisory: OpenClaw < 2026.3.24 - Arbitrary Code Execution via .npmrc in Local Plugin/Hook Installation
https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-npmrc-in-local-plugin-hook-installation

Scores

CVSS v3 7.8
EPSS 0.0001
EPSS Percentile 1.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-349
Status published
Products (4)
npm/openclaw 0 - 2026.3.24npm
OpenClaw/OpenClaw < 2026.3.24
openclaw/openclaw < 2026.3.24
OpenClaw/OpenClaw 2026.3.24
Published Apr 10, 2026
Tracked Since Apr 10, 2026