CVE-2026-31998: OpenClaw: auth bypass enables unauthorized agent dispatch
HIGHCVE-2026-31998 is an authorization bypass in OpenClaw's Synology Chat channel plugin where configuring dmPolicy as an allowlist with an empty allowedUserIds array causes the access check to fail open — any Synology Chat sender can trigger agent dispatch regardless of policy intent. With CVSS 8.6, no privileges required (AV:N/PR:N/AC:L), and EPSS in the top 76th percentile for exploitation likelihood, the attack surface is broad: any organization with an externally reachable Synology Chat feeding into OpenClaw is exposed, and the package's history of 396 prior CVEs signals systemic security debt. The integrity impact is rated High because a bypassed agent executes its full downstream tool chain — file operations, API calls, or system commands — with no authorization check. Organizations running OpenClaw 2026.2.22 or 2026.2.23 with this plugin should patch to either fixed commit (0ee30361 or 7655c0cb), disable the Synology Chat plugin, or set dmPolicy to deny as an immediate workaround.
What is the risk?
HIGH risk for any deployment of OpenClaw with the Synology Chat plugin and a dmPolicy allowlist configuration. The fail-open behavior on empty allowedUserIds is a dangerous secure-by-default failure: operators intending to restrict access inadvertently grant universal access. Attack complexity is Low, no OpenClaw credentials are required, and Synology Chat instances are frequently internet-accessible in enterprise environments. EPSS at the 76th percentile without a public exploit suggests the vulnerability class is well-understood and exploitation tooling may emerge quickly. The package's 396 prior CVEs indicate a pattern of security issues warranting elevated scrutiny of any OpenClaw deployment.
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?
7 steps-
Patch immediately: pull commits 0ee30361b8f6ef3f110f3a7b001da6dd3df96bb5 or 7655c0cb3a47d0647cbbf5284e177f90b4b82ddb for OpenClaw 2026.2.22/2026.2.23.
-
If patching is not immediately possible, disable the synology-chat channel plugin or switch dmPolicy from allowlist to deny mode.
-
Enforce a non-empty allowedUserIds list as a configuration guard — treat an empty allowlist as a misconfiguration and fail closed.
-
Audit OpenClaw agent tool permissions: apply least-privilege and remove tools not required for each agent's purpose.
-
Restrict Synology Chat instance access to internal networks or VPN where possible.
-
Monitor OpenClaw application logs for agent dispatch events originating from unexpected Synology Chat senders.
-
Review any other OpenClaw channel plugins for analogous fail-open patterns in policy enforcement logic.
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-31998?
CVE-2026-31998 is an authorization bypass in OpenClaw's Synology Chat channel plugin where configuring dmPolicy as an allowlist with an empty allowedUserIds array causes the access check to fail open — any Synology Chat sender can trigger agent dispatch regardless of policy intent. With CVSS 8.6, no privileges required (AV:N/PR:N/AC:L), and EPSS in the top 76th percentile for exploitation likelihood, the attack surface is broad: any organization with an externally reachable Synology Chat feeding into OpenClaw is exposed, and the package's history of 396 prior CVEs signals systemic security debt. The integrity impact is rated High because a bypassed agent executes its full downstream tool chain — file operations, API calls, or system commands — with no authorization check. Organizations running OpenClaw 2026.2.22 or 2026.2.23 with this plugin should patch to either fixed commit (0ee30361 or 7655c0cb), disable the Synology Chat plugin, or set dmPolicy to deny as an immediate workaround.
Is CVE-2026-31998 actively exploited?
No confirmed active exploitation of CVE-2026-31998 has been reported, but organizations should still patch proactively.
How to fix CVE-2026-31998?
1. Patch immediately: pull commits 0ee30361b8f6ef3f110f3a7b001da6dd3df96bb5 or 7655c0cb3a47d0647cbbf5284e177f90b4b82ddb for OpenClaw 2026.2.22/2026.2.23. 2. If patching is not immediately possible, disable the synology-chat channel plugin or switch dmPolicy from allowlist to deny mode. 3. Enforce a non-empty allowedUserIds list as a configuration guard — treat an empty allowlist as a misconfiguration and fail closed. 4. Audit OpenClaw agent tool permissions: apply least-privilege and remove tools not required for each agent's purpose. 5. Restrict Synology Chat instance access to internal networks or VPN where possible. 6. Monitor OpenClaw application logs for agent dispatch events originating from unexpected Synology Chat senders. 7. Review any other OpenClaw channel plugins for analogous fail-open patterns in policy enforcement logic.
What systems are affected by CVE-2026-31998?
This vulnerability affects the following AI/ML architecture patterns: agent frameworks, chat-integrated AI agents, enterprise AI automation pipelines.
What is the CVSS score for CVE-2026-31998?
CVE-2026-31998 has a CVSS v3.1 base score of 8.6 (HIGH). The EPSS exploitation probability is 0.32%.
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.T0084.002 Activation Triggers AML.T0108 AI Agent Compliance Controls Affected
What are the technical details?
Original Advisory
OpenClaw versions 2026.2.22 and 2026.2.23 contain an authorization bypass vulnerability in the synology-chat channel plugin where dmPolicy set to allowlist with empty allowedUserIds fails open. Attackers with Synology sender access can bypass authorization checks and trigger unauthorized agent dispatch and downstream tool actions.
Exploitation Scenario
An adversary with access to a Synology Chat instance — either as a legitimate low-privilege user, via compromised credentials, or through an open guest chat — identifies a channel monitored by an OpenClaw agent. The organization has configured dmPolicy as allowlist intending to restrict agent invocation to approved users, but allowedUserIds is empty (a misconfiguration that is easy to make and likely common on initial setup). The attacker sends a crafted message; the plugin evaluates the allowlist, finds no entries, and fails open — granting the attacker's message the same authorization as a whitelisted sender. OpenClaw dispatches the agent, which proceeds to invoke its configured downstream tools. Depending on the agent's tool configuration, the attacker may read sensitive files, query internal APIs, exfiltrate data to an external endpoint, or pivot to other systems reachable by the agent's credentials.
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:N/UI:N/S:U/C:L/I:H/A:L References
- github.com/openclaw/openclaw/commit/0ee30361b8f6ef3f110f3a7b001da6dd3df96bb5 patch
- github.com/openclaw/openclaw/commit/7655c0cb3a47d0647cbbf5284e177f90b4b82ddb patch
- github.com/openclaw/openclaw/security/advisories/GHSA-gw85-xp4q-5gp9 vendor-advisory
- vulncheck.com/advisories/openclaw-authorization-bypass-in-synology-chat-plugin-via-empty-alloweduserids third-party-advisory
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