Skip to main content

Openclaw CVE-2026-35641

| EUVDEUVD-2026-21436 HIGH
Acceptance of Extraneous Untrusted Data With Trusted Data (CWE-349)
2026-04-10 VulnCheck GHSA-m3mh-3mpg-37hw
8.4
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious .npmrc file with git executable override
  2. Delivery
    Place file in staged package directory
  3. Exploit
    Trigger npm install execution
  4. Execution
    Git dependency resolution invokes attacker-controlled program
  5. Impact
    Execute arbitrary code locally

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V4 - API and Web Service Acceptance of extraneous untrusted data
Exploitation Conditions

Local attacker must place a malicious .npmrc file in the staged package directory before npm install execution in OpenClaw versions before 2026.3.24. Requires user interaction to trigger npm install. Victim must execute npm install in a directory containing the attacker-controlled .npmrc with git executable override.

Impact

Local code execution vulnerability affecting OpenClaw plugin/hook installation. Attack requires user interaction (opening malicious .npmrc in staged directory) and local access, limiting blast radius to developers. High impact (code execution, data exfiltration, system compromise) justifies patching despite authentication and complexity barriers. EPSS data unavailable; prioritize based on development environment exposure.

Exploit ScenarioDerived

Attacker places crafted .npmrc file in target directory with git executable override. When developer runs npm install for plugins/hooks, git dependency resolution executes attacker-specified program. No public exploit code confirmed; attack requires social engineering or repository compromise.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Apr 10, 2026

Arbitrary code execution in OpenClaw versions prior to 2026.3.24 enables local attackers to execute malicious code during npm package installation by crafting a malicious .npmrc file that overrides the git executable. When npm install runs in the staged package directory with git dependencies, the attacker-controlled .npmrc configuration triggers execution of arbitrary programs specified by the attacker. Exploitation requires user interaction to install the malicious plugin or hook locally. No public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade to OpenClaw version 2026.3.24 or later, which addresses the arbitrary code execution vulnerability in npm configuration handling. Until patching is feasible, implement strict controls on plugin and hook installation sources: only install from verified, trusted repositories and avoid installing plugins from untrusted or third-party sources. Conduct manual inspection of package contents, specifically .npmrc files, before local installation. Disable or restrict local plugin installation functionality if not operationally required. Detailed security advisory available at https://github.com/openclaw/openclaw/security/advisories/GHSA-m3mh-3mpg-37hw. Additional technical analysis: https://www.vulncheck.com/advisories/openclaw-arbitrary-code-execution-via-npmrc-in-local-plugin-hook-installation

Affected VersionsENISA

OpenClaw 0 <2026.3.24

Affected Packages

npm openclaw fix: 2026.3.24

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-349 (Acceptance of Extraneous Untrusted Data With Trusted Data) vulnerability exploits npm's configuration hierarchy during local plugin installation. Attacker-supplied .npmrc files in staged directories override git executable paths, enabling arbitrary command execution when npm resolves git-based dependencies. The vulnerability stems from insufficient validation of configuration files within untrusted package contexts during the installation workflow.

Know when Openclaw gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 8.4 HIGH
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Apr 10, 2026 - 20:30 nvd
Patch available
CVE Published
Apr 10, 2026 - 16:03 nvd
HIGH 8.4

DescriptionCVE.org

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 3 npm packages depend on openclaw (3 direct, 0 indirect)

Ecosystem-wide dependent count for version 2026.3.24.

Executive ViewAI

Why It Matters

CVE-2026-35641 affects OpenClaw versions before 2026.3.24 and allows local attackers to execute arbitrary code during npm package installation through malicious .npmrc file configuration. Development teams and build systems using affected OpenClaw versions face risk of code execution when installing packages with git dependencies, potentially compromising development environments and supply chain integrity.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict npm install execution to sandboxed or isolated build environments; (2) Implement file integrity monitoring on .npmrc files in project directories; (3) Use npm audit and supply chain scanning tools to detect suspicious package configurations; (4) Enforce code review of all .npmrc modifications; (5) Disable automatic git dependency resolution where possible and use pinned package versions instead.

Threat Intelligence Overview

EPSS Score
0.0%
Top 99% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-28446 CRITICAL POC
9.4 Mar 05

Auth bypass in OpenClaw voice-call extension before 2026.2.1. EPSS 0.68%. PoC and patch available.

CVE-2026-33579 CRITICAL POC
9.4 Mar 31

Privilege escalation in OpenClaw (pre-2026.3.28) allows unauthenticated remote attackers to gain administrative access b

CVE-2026-32042 HIGH POC
8.8 Mar 21

OpenClaw versions 2026.2.22 through 2026.2.24 contain a privilege escalation vulnerability that allows authenticated att

CVE-2026-32051 HIGH POC
8.8 Mar 21

An authorization mismatch vulnerability in OpenClaw versions prior to 2026.3.1 allows authenticated users with operator.

CVE-2026-25253 HIGH POC
8.8 Feb 01

OpenClaw versions prior to 2026.1.29 automatically establish WebSocket connections to attacker-controlled gateway URLs e

CVE-2026-32846 HIGH POC
8.7 Mar 26

Path traversal in OpenClaw through version 2026.3.23 enables unauthenticated remote attackers to read arbitrary files in

CVE-2026-100530 HIGH POC
8.5 Sep 26

Directory-context bypass in OpenClaw before 2026.8.1 allows authenticated attackers with user interaction to reuse an 'a

CVE-2026-32064 HIGH POC
8.5 Mar 21

Unauthenticated access to the noVNC observer interface in OpenClaw's Docker sandbox browser allows anyone who can reach

CVE-2026-32055 HIGH POC
7.6 Mar 21

OpenClaw versions before 2026.2.26 allow authenticated attackers to write arbitrary files outside the workspace director

CVE-2026-32056 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a shell environment variable injection vulnerability in the system.run func

CVE-2026-32049 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.2.22 contain a resource exhaustion vulnerability where the application fails to consiste

CVE-2026-32048 HIGH POC
7.5 Mar 21

OpenClaw versions prior to 2026.3.1 contain a sandbox escape vulnerability that allows authenticated attackers with low

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy