GHSA-rmxw-jxxx-4cpc

Suggest an improvement
Source
https://github.com/advisories/GHSA-rmxw-jxxx-4cpc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-rmxw-jxxx-4cpc/GHSA-rmxw-jxxx-4cpc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rmxw-jxxx-4cpc
Aliases
Published
2026-02-17T21:34:17Z
Modified
2026-03-06T01:16:22.832942Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
  • 6.3 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenClaw has a Matrix allowlist bypass via displayName and cross-homeserver localpart matching
Details

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.example and @alice:trusted.example both match alice

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.

Database specific
{
    "github_reviewed": true,
    "github_reviewed_at": "2026-02-17T21:34:17Z",
    "cwe_ids": [
        "CWE-287",
        "CWE-290"
    ],
    "severity": "MODERATE",
    "nvd_published_at": "2026-03-05T22:16:20Z"
}
References

Affected packages

npm / openclaw

Package

Affected ranges

Type
SEMVER
Events
Introduced
2026.1.14-1
Fixed
2026.2.2

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/02/GHSA-rmxw-jxxx-4cpc/GHSA-rmxw-jxxx-4cpc.json"