CVE-2026-100596: OpenClaw: missing authz in /mcp set enables persistent RCE
HIGHOpenClaw before 2026.7.1 doesn't check ownership when a user runs the /mcp set and /mcp unset commands. Any low-privileged, non-owner user can therefore write an arbitrary stdio MCP command into the agent's configuration, and it runs with the OpenClaw process privileges the next time the configuration loads. This is a network-reachable, low-complexity flaw with no user interaction (CVSS 8.8), and it turns any ordinary account into persistent code execution on the host. Exploitation likelihood is currently modest: EPSS is 0.00246 (top 85th percentile), it is not in CISA KEV, and there is no public exploit or Nuclei template. The exploit steps are trivial once someone has an account, though, so the risk grows quickly in multi-user or shared-channel deployments. Upgrade to OpenClaw 2026.7.1 or later, restrict who can reach the agent's command interface, and audit existing MCP configuration for stdio commands nobody approved.
What is the risk?
High. The flaw is a missing authorization check (CWE-862) reachable over the network with low privileges, low complexity and no user interaction. Impact is full compromise of host confidentiality, integrity and availability, because injected stdio MCP commands run as the OpenClaw process. Exploitation likelihood today is moderate to low (EPSS 0.00246, not in KEV, no public PoC), but the attack needs no AI/ML expertise and no special tooling. Exposure is highest where OpenClaw serves multiple users, shared chat channels or teams, and where the agent process holds credentials, API keys or broad filesystem access.
How does the attack unfold?
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| OpenClaw | pip | — | No patch |
Do you use OpenClaw? You're affected.
How severe is it?
What is the attack surface?
What should I do?
1 step1) Upgrade OpenClaw to 2026.7.1 or later (see GHSA-wwx7-573h-pqwc and the VulnCheck advisory). 2) Until patched, restrict access to the agent's chat or command interface to trusted owners and disable or block the /mcp set and /mcp unset commands for non-owners where possible. 3) Review current MCP configuration for unknown stdio entries (unexpected command, args or env values) and remove them; treat any unrecognised entry as a potential compromise. 4) Run OpenClaw as an unprivileged user in a container or sandbox with minimal filesystem, network and secret access. 5) Rotate API keys and tokens accessible to the OpenClaw process if tampering is suspected. 6) Detection: alert on config file changes, on /mcp set and /mcp unset invocations by non-owner users, and on child processes spawned by the OpenClaw process that are not on the expected MCP server allowlist.
What does CISA's SSVC say?
Source: CISA Vulnrichment (SSVC v2.0). Decision based on the CISA Coordinator decision tree.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2026-100596?
OpenClaw before 2026.7.1 doesn't check ownership when a user runs the /mcp set and /mcp unset commands. Any low-privileged, non-owner user can therefore write an arbitrary stdio MCP command into the agent's configuration, and it runs with the OpenClaw process privileges the next time the configuration loads. This is a network-reachable, low-complexity flaw with no user interaction (CVSS 8.8), and it turns any ordinary account into persistent code execution on the host. Exploitation likelihood is currently modest: EPSS is 0.00246 (top 85th percentile), it is not in CISA KEV, and there is no public exploit or Nuclei template. The exploit steps are trivial once someone has an account, though, so the risk grows quickly in multi-user or shared-channel deployments. Upgrade to OpenClaw 2026.7.1 or later, restrict who can reach the agent's command interface, and audit existing MCP configuration for stdio commands nobody approved.
Is CVE-2026-100596 actively exploited?
No confirmed active exploitation of CVE-2026-100596 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-100596?
1) Upgrade OpenClaw to 2026.7.1 or later (see GHSA-wwx7-573h-pqwc and the VulnCheck advisory). 2) Until patched, restrict access to the agent's chat or command interface to trusted owners and disable or block the /mcp set and /mcp unset commands for non-owners where possible. 3) Review current MCP configuration for unknown stdio entries (unexpected command, args or env values) and remove them; treat any unrecognised entry as a potential compromise. 4) Run OpenClaw as an unprivileged user in a container or sandbox with minimal filesystem, network and secret access. 5) Rotate API keys and tokens accessible to the OpenClaw process if tampering is suspected. 6) Detection: alert on config file changes, on /mcp set and /mcp unset invocations by non-owner users, and on child processes spawned by the OpenClaw process that are not on the expected MCP server allowlist.
What systems are affected by CVE-2026-100596?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, MCP tool integrations, Multi-user shared AI assistants, Self-hosted agent gateways.
What is the CVSS score for CVE-2026-100596?
CVE-2026-100596 has a CVSS v3.1 base score of 8.8 (HIGH). The EPSS exploitation probability is 0.25%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0012Valid AccountsAML.T0050Command and Scripting InterpreterAML.T0081Modify AI Agent ConfigurationAML.T0110AI Agent Tool PoisoningAML.T0112.000Local AI AgentCompliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions before 2026.7.1 fail to properly authorize non-owner users executing MCP configuration changes through /mcp set and /mcp unset commands. Attackers can persist arbitrary stdio MCP commands that execute with OpenClaw process privileges when configuration loads, compromising host confidentiality, integrity, and availability.
Exploitation Scenario
An organization runs a shared OpenClaw agent in a team chat workspace, with the owner configured as the administrator. A low-privileged member, or an attacker who has compromised one such account, sends '/mcp set' with a new stdio MCP server whose command downloads and runs a reverse shell. The missing owner check lets the change through and it is written to the persistent configuration. When OpenClaw reloads its configuration (restart, redeploy or scheduled reload), the command executes with the agent's privileges. The attacker now holds a foothold on the host, can read LLM API keys and connected-tool credentials, and keeps access across restarts through the planted configuration entry.
Weaknesses (CWE)
CWE-862 — Missing Authorization: The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
- [Architecture and Design] Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries. Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
- [Architecture and Design] Ensure that access control checks are performed related to the business logic. These checks may be different than the access control checks that are applied to more generic resources such as files, connections, processes, memory, and database records. For example, a database may restrict access for medical records to a specific database user, but each record might only be intended to be accessible to the patient and the patient's doctor [REF-7].
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HReferences
Timeline
Related Vulnerabilities
CVE-2026-221729.9OpenClaw: WebSocket scope self-elevation grants admin
Same package: openclawCVE-2026-335799.9OpenClaw: scope bypass escalates low-priv to admin
Same package: openclawCVE-2026-329229.9OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclawCVE-2026-307419.8OpenClaw: RCE via request-side prompt injection
Same package: openclawCVE-2026-320389.8OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw