Skip to main content
Vulnerability Database/CVE-2026-100541

CVE-2026-100541: OpenClaw Matrix Auth Bypass Vulnerability

CVE-2026-100541 is an authentication bypass flaw in OpenClaw Matrix integration that allows attackers to inherit authorization privileges through case-sensitive user ID collisions. This post covers technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-100541 Overview

CVE-2026-100541 is an authorization bypass vulnerability in OpenClaw's Matrix integration, distributed as the npm package @openclaw/matrix. Affected versions >= 2026.2.2 and < 2026.8.1 lowercase complete Matrix user IDs when deriving the OpenClaw authorization identity. The normalization folds historical localparts and the case-sensitive server-name portion, causing distinct authenticated Matrix accounts to collapse to the same authorization identity. An attacker controlling a colliding account identifier can inherit allowlist, owner-command, exec-approval, or plugin-approval authority configured for another account. The flaw is categorized under [CWE-178: Improper Handling of Case Sensitivity].

Critical Impact

A Matrix participant with a protocol-valid colliding identifier can inherit privileged authority assigned to another user, including plugin and command execution approvals.

Affected Products

  • @openclaw/matrix npm package versions >= 2026.2.2
  • @openclaw/matrix npm package versions < 2026.8.1
  • OpenClaw deployments using Matrix integration for authorization

Discovery Timeline

  • 2026-09-26 - CVE-2026-100541 published to NVD
  • 2026-09-29 - Last updated in NVD database

Technical Details for CVE-2026-100541

Vulnerability Analysis

The vulnerability resides in the authorization identity derivation logic of @openclaw/matrix. The integration lowercases the entire Matrix user ID string before mapping it to an OpenClaw authorization principal. Matrix user IDs follow the format @localpart:server-name, where the server-name portion is case-sensitive per the Matrix specification and historical localparts may contain mixed-case characters. By folding both components, the integration produces identical authorization identities for distinct, protocol-valid Matrix accounts.

An attacker who registers or controls an account whose identifier differs from a privileged account only by case or Unicode folding can bypass the allowlist check. Display-name matching is not required. The attacker inherits any privilege granted to the collided identity, including owner commands, plugin approvals, and exec approvals, which can translate directly to command execution within the OpenClaw host environment.

Root Cause

The root cause is improper handling of case sensitivity during identity normalization. The implementation treats the Matrix user ID as a case-insensitive string, which contradicts the Matrix protocol's rules for both server-name case sensitivity and historical localpart handling. The result is a many-to-one mapping between authenticated identities and authorization principals.

Attack Vector

The attack vector is network-based and requires low privileges. An attacker must authenticate as a Matrix user with an identifier that case-folds to the same value as a configured privileged user. Once authenticated, the attacker interacts with the OpenClaw bot through standard Matrix channels and issues commands intended for the privileged account. Attack complexity is elevated by the need to register or acquire a colliding identifier on a federated Matrix server. See the GitHub Security Advisory GHSA-hgv5-f2r3-6v9r and the VulnCheck advisory on OpenClaw for additional technical context.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-100541

Indicators of Compromise

  • Matrix events originating from user IDs that match privileged account identifiers only after case folding
  • Successful execution of owner commands, exec approvals, or plugin approvals from accounts not explicitly listed in the OpenClaw configuration
  • Multiple distinct @localpart:server-name values resolving to the same OpenClaw audit log principal

Detection Strategies

  • Audit OpenClaw command logs for authorized actions whose source Matrix ID does not exactly match any configured allowlist entry
  • Enumerate configured allowlists and search federated Matrix servers for accounts that collide under lowercase or Unicode folding
  • Compare the raw Matrix sender field against the derived OpenClaw principal to detect normalization-induced collisions

Monitoring Recommendations

  • Enable verbose logging of authorization decisions in @openclaw/matrix to capture both raw and normalized identifiers
  • Alert on first-seen Matrix sender IDs invoking owner-only or plugin-approval commands
  • Monitor npm package inventories for installations of @openclaw/matrix within the affected version range

How to Mitigate CVE-2026-100541

Immediate Actions Required

  • Upgrade @openclaw/matrix to version 2026.8.1 or later across all OpenClaw deployments
  • Review existing allowlists, owner-command grants, exec-approval, and plugin-approval configurations for exposure
  • Revoke any sessions or tokens associated with suspected colliding Matrix accounts

Patch Information

The issue is fixed in @openclaw/matrix version 2026.8.1. The patch corrects the authorization identity derivation to preserve case sensitivity in accordance with the Matrix specification. Refer to the GitHub Security Advisory GHSA-hgv5-f2r3-6v9r for release notes and remediation guidance.

Workarounds

  • Restrict the OpenClaw bot to a trusted, non-federated Matrix homeserver where attacker-controlled registrations are not possible
  • Temporarily remove sensitive owner, exec, or plugin approval grants until the upgrade is applied
  • Enforce homeserver-side policies that reject registration of localparts colliding with configured privileged identifiers
bash
# Upgrade the vulnerable npm package to the fixed release
npm install @openclaw/matrix@2026.8.1

# Verify the installed version
npm ls @openclaw/matrix

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.