OpenClaw has a Matrix allowlist bypass via displayName and cross-homeserver localpart matching
Summary
OpenClaw Matrix DM allowlist matching could be bypassed in certain configurations.
Matrix support ships as an optional plugin (not bundled with the core install), so this only affects deployments that have installed and enabled the Matrix plugin.
Affected Packages / Versions
- Package:
openclaw(npm) - Affected:
>= 2026.1.14-1, < 2026.2.2 - Patched:
>= 2026.2.2
Details
In affected versions, DM allowlist decisions could be made by exact-matching channels.matrix.dm.allowFrom entries against multiple sender-derived candidates, including:
- The sender display name (attacker-controlled and non-unique)
- The sender MXID localpart with the homeserver discarded, so
@alice:evil.exampleand@alice:trusted.exampleboth matchalice
If an operator configured channels.matrix.dm.allowFrom with display names or bare localparts (for example, "Alice" or "alice"), a remote Matrix user may be able to impersonate an allowed identity for allowlist purposes and reach the routing/agent pipeline.
Impact
Matrix DM allowlist identity confusion. The practical impact depends on your Matrix channel policies and what capabilities are enabled downstream.
Mitigation
- Upgrade to
openclaw >= 2026.2.2. - Ensure Matrix allowlists contain only full Matrix user IDs (MXIDs) like
@user:server(or*). Do not use display names or bare localparts.
Fix Commit(s)
8f3bfbd1c4fb967a2ddb5b4b9a05784920814bcf
Release Process Note
The patched version is already published to npm; the advisory can be published once you're ready.
Thanks @MegaManSec (https://joshua.hu) of AISLE Research Team for reporting.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | openclaw | >= 2026.1.14-1, < 2026.2.2 | 2026.2.2 |
References
- https://github.com/openclaw/openclaw/security/advisories/GHSA-rmxw-jxxx-4cpc
- https://nvd.nist.gov/vuln/detail/CVE-2026-28471
- https://github.com/openclaw/openclaw/commit/8f3bfbd1c4fb967a2ddb5b4b9a05784920814bcf
- https://github.com/openclaw/openclaw
- https://github.com/openclaw/openclaw/releases/tag/v2026.2.2
- https://www.vulncheck.com/advisories/openclaw-allowlist-bypass-via-displayname-and-cross-homeserver-localpart-matching-in-matrix
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-287, CWE-290- Platform
- npm
- Package
openclaw- Disclosed
- 17.02.2026
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rmxw-jxxx-4cpc - CC BY 4.0
Vulnerability history: openclaw
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 588
- First → latest
- 02.2026 07.2026
- Without a fix
- 9
- Exploited in attacks
- 0
Severity breakdown
- Critical 20
- High 215
- Medium 299
- Low 54
Disclosures per year
- 2026: 588
-
OpenClaw has a Matrix allowlist bypass via displayName and cross-homeserver localpart matching this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.