CVE-2026-53811: OpenClaw Matrix allowFrom Privilege Escalation Vulnerability
OpenClaw versions before 2026.5.7 contain a privilege escalation flaw in how it handles the Matrix allowFrom feature. The vulnerability exists because the system trusts mutable display name metadata when matching policy rules. An authenticated user who can change their own display name can trick the access control system into granting them agent permissions intended for a different Matrix identity. The impact depends on what permissions operators have tied to those identities, but could range from lateral movement to unauthorized administrative access.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-290
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-11 / 2026-06-17
NVD description (verbatim)
OpenClaw before 2026.5.7 contains a privilege escalation vulnerability in the Matrix allowFrom feature that allows authenticated accounts to match policy entries through mutable display name metadata. Attackers with the ability to change display names can receive agent access intended for another Matrix identity, potentially gaining unauthorized permissions depending on operator configuration.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-53811 is a privilege escalation vulnerability stemming from improper input validation in OpenClaw's Matrix allowFrom policy engine. The allowFrom feature is designed to grant agent access based on Matrix identity matching, but the implementation relies on display name metadata that authenticated users can modify. Because display names are not cryptographically bound or immutable, an attacker can alter their display name to match a policy rule intended for another identity, bypassing the intended access control. This is classified as an authentication bypass or improper authorization (CWE-290) and requires an authenticated account to exploit, but does not require user interaction or elevated privileges to initiate the attack.
Business impact
A successful exploit allows an authenticated user to escalate their privileges within OpenClaw, potentially gaining access to agent functionality and sensitive operations they should not possess. The real-world impact depends entirely on what permissions operators have delegated through the allowFrom rules. In environments where agent roles carry high privilege (e.g., read/write access to sensitive data, ability to modify configurations, or administrative functions), this vulnerability can facilitate lateral movement, data exfiltration, or system compromise. Organizations that rely on Matrix identity-based access control for multi-tenant or multi-user segregation face a particular risk.
Affected systems
OpenClaw versions before 2026.5.7 are affected. The vulnerability resides in the Matrix allowFrom feature, so only deployments actively using this feature for access control decisions are exposed. However, because the flaw is in the core policy engine, all authentication configurations that reference display names in allowFrom rules are potentially vulnerable. Verify your OpenClaw version and review your policy configuration to determine exposure.
Exploitability
Exploitability is moderate-to-high in targeted scenarios. The attack requires an authenticated account—the attacker cannot exploit this without first obtaining credentials—but no special privileges or user interaction are required once authenticated. Display name modification is typically a standard user capability in identity systems. An attacker need only identify a target policy rule, determine what display name it matches, and then change their own display name to that value. The attack is detectable in logs but may go unnoticed if audit logging is not properly configured. There is no evidence this vulnerability is actively exploited in the wild as of the publication date.
Remediation
Upgrade OpenClaw to version 2026.5.7 or later. This patch version corrects the allowFrom logic to use immutable identity attributes instead of mutable display names for policy matching. Before upgrading, audit your existing allowFrom policies to identify which rules rely on display name matching and assess the permissions granted through those rules. After patching, test policy evaluation in a non-production environment to ensure access control behavior remains consistent with your intended configuration.
Patch guidance
Upgrade all affected OpenClaw instances to 2026.5.7 or later. The patch modifies the allowFrom feature to bind policy rules to cryptographically verifiable identity attributes rather than user-editable display names. Verify the patch version in your release notes and confirm via the OpenClaw vendor advisory that your target version includes this fix. Test in a staging environment first, especially if you have complex or custom allowFrom rules. No configuration changes are required post-patch in most cases, but review your policy definitions to ensure they align with the new immutable-attribute-based matching logic.
Detection guidance
Monitor for suspicious pattern changes in authentication logs, particularly users modifying their display names immediately before or after attempting agent access. Look for policy rule matches that do not align with the user's actual role or identity. If you have Matrix event logging enabled, search for changes to user display name metadata in close temporal proximity to allowFrom policy evaluations. Review audit logs for any agent access grants that succeeded despite the requestor not matching the policy's intended identity. Implement alerting on display name changes if your security operations team has the capacity, especially for high-privilege Matrix identities.
Why prioritize this
This vulnerability merits immediate attention despite not being on the KEV (Known Exploited Vulnerabilities) list. The CVSS score of 8.8 reflects the high severity due to the combination of network accessibility, low attack complexity, and high impact on confidentiality, integrity, and availability. The core issue—that access control can be bypassed by an authenticated user modifying mutable metadata—is a fundamental security flaw. Organizations using allowFrom rules for critical access decisions should prioritize patching. The fact that exploitation requires only standard user capabilities (display name change) with no special interaction means defenders cannot rely on behavioral rarity to detect attacks. Patch within 30 days if the vulnerability affects your environment.
Risk score, explained
The CVSS 3.1 score of 8.8 (HIGH) is justified by the following factors: Network accessibility (AV:N) means the vulnerability is reachable over the network; Low attack complexity (AC:L) means no special conditions or timing are required; Privileges required (PR:L) correctly reflects that the attacker must have a valid authenticated account; No user interaction (UI:N) is needed once the attacker is authenticated; The impact is unscoped (S:U) and affects confidentiality, integrity, and availability (C:H, I:H, A:H), meaning a successful exploit can lead to unauthorized information disclosure, policy modification, and potential denial of service if agent access is revoked or corrupted. The score appropriately reflects the severity of a privilege escalation in access control logic.
Frequently asked questions
Do I need to have Matrix integration enabled for this vulnerability to affect me?
Yes. This vulnerability is specific to OpenClaw's Matrix allowFrom feature. If you are not using Matrix identity-based access control in your OpenClaw deployment, you are not exposed to this particular flaw. However, verify your configuration to be certain.
Can an attacker exploit this without a valid OpenClaw account?
No. The vulnerability requires an authenticated account to change a display name and trigger the policy bypass. An attacker without credentials cannot exploit this remotely. However, compromised credentials or an insider threat would be sufficient.
Will this patch break my existing allowFrom policies?
The patch changes the underlying matching logic from display names to immutable identity attributes. While most policies will continue to function, you should test in a non-production environment first and review any custom or complex allowFrom rules to ensure they align with the new immutable-attribute-based behavior.
Is this vulnerability being actively exploited?
As of the publication date (June 2026), there is no evidence of active exploitation in the wild, and the vulnerability is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. However, this is a relatively simple privilege escalation for anyone with an account, so you should not assume it is unknown to potential attackers.
This analysis is provided for informational purposes only and represents the best understanding of the vulnerability at the time of publication. SEC.co does not provide legal advice or assume liability for the accuracy of vendor patches or version information. Always verify patch availability and compatibility through official vendor advisories and release notes before deploying updates. The CVSS score and severity rating are based on published data and do not constitute a guarantee of actual exploitability in your specific environment. Security teams should conduct their own risk assessment tailored to their infrastructure, policies, and threat model. Source: NVD (public-domain), retrieved 2026-07-20. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-53817HIGHOpenClaw Admin Token Persistence via Locality Spoofing
- CVE-2026-53823HIGHOpenClaw Privilege Escalation via Mutable Slack Display Names
- CVE-2026-53832HIGHOpenClaw Identity Header Forgery & Privilege Escalation
- CVE-2026-53833HIGHOpenClaw QQBot Authorization Bypass (CVSS 7.7)
- CVE-2026-53849HIGHOpenClaw Privilege Escalation via Discord Display Name Spoofing
- CVE-2026-53857HIGHOpenClaw Policy Enforcement Vulnerability in Zalo Contact Display Names
- CVE-2026-42674HIGHAdvanced Access Manager Authentication Bypass via URL Encoding
- CVE-2026-46414HIGHMicrosoft UFO WebSocket Authentication Bypass and Role Spoofing