CVE-2026-35674: OpenClaw: scope bypass enables full agent admin takeover
HIGHOpenClaw's Gateway chat.send route contains a CWE-863 authorization flaw that lets any user with operator.write scope invoke privileged commands gated behind operator.approvals and operator.admin, giving a low-privilege operator full administrative control over plugins, MCP servers, allowlists, and agent configurations. The blast radius is significant: any OpenClaw deployment where operators are granted write scope is exposed to complete platform takeover, including silent modification of MCP tool configurations that could redirect agent behavior or introduce backdoored plugins without triggering any approval workflow. With CVSS 8.8, network-exploitable, no user interaction required, and trivial exploitation complexity, this is a realistic insider-threat and compromised-credential vector — no public exploit code or active exploitation has been observed, but the attack path requires only an existing operator.write credential and knowledge of the inherited route chain. Upgrade immediately to OpenClaw 2026.5.18 or later; as a stopgap, audit and restrict all operator.write scope grants and monitor for anomalous plugin or MCP configuration changes.
What is the risk?
High risk. CVSS 8.8 with network attack vector, low complexity, and low privilege requirement makes this broadly exploitable in any multi-user or multi-tenant OpenClaw deployment. The bypass specifically targets the approval workflows designed to gate high-impact changes, meaning the primary control preventing unauthorized platform mutations is fully circumvented. AI agent systems are particularly sensitive to this class of flaw because MCP and plugin modifications can silently alter agent behavior at scale without triggering user-visible alerts, and the effects persist across sessions.
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?
5 steps-
Patch: Upgrade OpenClaw to version 2026.5.18 or later — the patched release closes the scope inheritance bypass in the Gateway chat.send route.
-
Audit: Review all accounts with operator.write scope immediately; restrict grants to the minimum required set and revoke any overly broad assignments.
-
Detect: Review audit logs for plugin installations, MCP configuration changes, allowlist modifications, and ACP mutations — especially those lacking corresponding operator.approvals records, which are the forensic signature of exploitation.
-
Workaround (if immediate patching is not possible): Restrict network access to the Gateway chat.send route via API gateway rules or firewall controls until the patch can be applied.
-
Verify post-patch: Confirm that operator.write-scoped requests against protected routes correctly return authorization errors and that approval workflows are enforced.
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-35674?
OpenClaw's Gateway chat.send route contains a CWE-863 authorization flaw that lets any user with operator.write scope invoke privileged commands gated behind operator.approvals and operator.admin, giving a low-privilege operator full administrative control over plugins, MCP servers, allowlists, and agent configurations. The blast radius is significant: any OpenClaw deployment where operators are granted write scope is exposed to complete platform takeover, including silent modification of MCP tool configurations that could redirect agent behavior or introduce backdoored plugins without triggering any approval workflow. With CVSS 8.8, network-exploitable, no user interaction required, and trivial exploitation complexity, this is a realistic insider-threat and compromised-credential vector — no public exploit code or active exploitation has been observed, but the attack path requires only an existing operator.write credential and knowledge of the inherited route chain. Upgrade immediately to OpenClaw 2026.5.18 or later; as a stopgap, audit and restrict all operator.write scope grants and monitor for anomalous plugin or MCP configuration changes.
Is CVE-2026-35674 actively exploited?
No confirmed active exploitation of CVE-2026-35674 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-35674?
1. Patch: Upgrade OpenClaw to version 2026.5.18 or later — the patched release closes the scope inheritance bypass in the Gateway chat.send route. 2. Audit: Review all accounts with operator.write scope immediately; restrict grants to the minimum required set and revoke any overly broad assignments. 3. Detect: Review audit logs for plugin installations, MCP configuration changes, allowlist modifications, and ACP mutations — especially those lacking corresponding operator.approvals records, which are the forensic signature of exploitation. 4. Workaround (if immediate patching is not possible): Restrict network access to the Gateway chat.send route via API gateway rules or firewall controls until the patch can be applied. 5. Verify post-patch: Confirm that operator.write-scoped requests against protected routes correctly return authorization errors and that approval workflows are enforced.
What systems are affected by CVE-2026-35674?
This vulnerability affects the following AI/ML architecture patterns: Agent frameworks, MCP (Model Context Protocol) deployments, AI gateway and proxy architectures, Plugin-based AI systems, Multi-user AI agent platforms.
What is the CVSS score for CVE-2026-35674?
CVE-2026-35674 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.T0049 Exploit Public-Facing Application AML.T0053 AI Agent Tool Invocation AML.T0081 Modify AI Agent Configuration AML.T0107 Exploitation for Defense Evasion AML.T0110 AI Agent Tool Poisoning Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw before 2026.5.18 contains a scope bypass vulnerability in the Gateway chat.send route that allows scoped clients to execute privileged commands. Attackers with operator.write scope can deliver commands through inherited external routes to bypass operator.approvals and operator.admin scope requirements, enabling unauthorized plugin, config, MCP, allowlist, and ACP mutations.
Exploitation Scenario
An adversary with a compromised operator account holding operator.write scope authenticates to OpenClaw. Using the Gateway chat.send route, they craft a payload that invokes an inherited external route, causing the server to evaluate the request without applying the operator.approvals or operator.admin scope check. The attacker then installs a backdoored MCP server configuration pointing agent tool calls to attacker-controlled infrastructure, or deploys a plugin that intercepts conversation context and exfiltrates it externally. Because operator.approvals is bypassed, no approval workflow fires, no admin alert is generated, and the configuration change persists silently across all subsequent agent sessions.
Weaknesses (CWE)
CWE-863 — Incorrect Authorization: The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.
- [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:H References
Timeline
Related Vulnerabilities
CVE-2026-33579 9.9 OpenClaw: scope bypass escalates low-priv to admin
Same package: openclaw CVE-2026-32922 9.9 OpenClaw: privilege escalation to RCE via token scope bypass
Same package: openclaw CVE-2026-30741 9.8 OpenClaw: RCE via request-side prompt injection
Same package: openclaw CVE-2026-32038 9.8 OpenClaw: sandbox bypass enables container lateral movement
Same package: openclaw CVE-2026-53838 9.8 OpenClaw: approval scope bypass via reconnection state
Same package: openclaw