CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-53849

CVE-2026-53849: Privilege Escalation and Authentication Bypass via Mutable Discord Display Names in OpenClaw allowFrom

Alon Barad
Alon Barad
Software Engineer

Jun 19, 2026·6 min read·9 visits

Executive Summary (TL;DR)

OpenClaw before 2026.5.7 allows remote privilege escalation because its authentication policy checks mutable Discord display names instead of unique, immutable Snowflake IDs.

OpenClaw before version 2026.5.7 contains a security vulnerability where the allowFrom feature improperly validates Discord account identity using mutable display names rather than immutable user IDs. This allows remote attackers to bypass authorization controls and escalate privileges by changing their Discord display or global names to match a configured policy entry.

Vulnerability Overview

The openclaw package is an agent and gateway platform that integrates directly with Discord to allow remote system monitoring, orchestration, and automated administrative operations. To regulate access to its execution environment, the software includes an authorization capability named allowFrom. This subsystem regulates which Discord accounts are permitted to send instructions and interact with deployed agents.

Prior to version 2026.5.7, the verification check in this subsystem compared incoming messages against a list of authorized identities using mutable user profile properties. The platform accepted user-controlled display names and global names during the matching routine. This configuration exposes an insecure trust boundary where authentication relies entirely on non-unique, client-modifiable parameters.

This implementation flaw corresponds to CWE-290 (Authentication Bypass by Spoofing). When the allowFrom feature is enabled and exposed, any remote user capable of interacting with the Discord gateway can manipulate their profile metadata to match an authorized name. This allows an attacker to bypass authentication boundaries and achieve unauthorized agent control.

Root Cause Analysis

To understand the underlying flaw, it is essential to examine how Discord structures user accounts. The platform provides four principal identity attributes: the immutable 18-digit Snowflake id, the unique lowercase username handle, the mutable profile global_name, and the context-dependent display_name (nickname). While the Snowflake ID is assigned at account creation and cannot be altered, display names and nicknames are mutable parameters controlled by users.

The vulnerability resides within the matching logic of the authentication filter. When a message payload is processed by the gateway, the authorization check extracts either the global_name or displayName property from the author metadata. The system compares this string value directly against the list of authorized entries defined in the application's configuration.

Because Discord permits duplicate display names and allows any user to modify these fields without administrative review, the name verification process fails to establish cryptographic or structural proof of identity. This allows an untrusted user to spoof an authorized identity by updating their Discord account profile settings to match a name defined in the allowFrom configuration list.

Code Analysis

The vulnerable implementation of openclaw extracts user-controlled profile strings from the message context. The system relies on fields that do not represent immutable user accounts, creating an insecure comparison model.

// Vulnerable implementation in openclaw < 2026.5.7
function isAuthorized(message, allowedPolicies) {
  // Extracting mutable, user-controlled display metadata
  const senderDisplayName = message.author.global_name || message.author.displayName;
 
  // Vulnerable comparison against mutable strings
  if (allowedPolicies.includes(senderDisplayName)) {
    return true; // Access granted based on spoofable display name
  }
  return false;
}

The patch introduced in version 2026.5.7 addresses the root cause by migrating the validation mechanism from mutable strings to immutable identifiers. The comparison logic now strictly validates the Snowflake ID of the sender.

// Patched implementation in openclaw >= 2026.5.7
function isAuthorized(message, allowedPolicies) {
  // Extract the unique, immutable 18-digit Discord Snowflake ID
  const senderId = message.author.id;
 
  // Secure comparison against known immutable IDs
  if (allowedPolicies.includes(senderId)) {
    return true; // Access granted only if the unique ID matches
  }
  return false;
}

This structural modification prevents name spoofing because the id field is assigned by Discord's backend database and cannot be altered or set arbitrarily by the client. The fix is complete for this specific check; however, administrators must update their local configuration files to store the Snowflake IDs of authorized users instead of legacy display name strings.

Exploitation Methodology

Exploitation of this vulnerability requires three prerequisites: the gateway must have the allowFrom feature enabled, the policy configuration must reference display names rather than Snowflake IDs, and the attacker must have network-level access to send inputs to a Discord channel monitored by the target OpenClaw instance.

An attacker begins by monitoring the target channel or reviewing historical interactions to identify an authorized administrator's display name. For example, if an administrator uses the display name "System-Operator", the attacker assumes this name is stored in the allowFrom array.

The attacker logs into a standard Discord account and updates their global profile name to "System-Operator". They then dispatch a command to the target gateway. Because the vulnerable validator evaluates only the display name string, it validates the request and processes the attacker's instructions with administrative privileges.

Technical Impact Assessment

The exploitation of CVE-2026-53849 results in an authentication bypass that permits arbitrary remote code execution within the execution context of the OpenClaw agent. Depending on the environment in which the gateway is running, this access can lead to compromise of the host system, exposure of configuration secrets, or lateral movement into connected network segments.

The CVSS v4.0 score of 8.6 reflects high severity. The attack complexity is low, and no specialized conditions are required to execute the exploit. The privileges required are rated as low because the attacker only needs a standard Discord account to perform the necessary profile modifications.

The impact on system confidentiality and integrity is rated as high because the gateway exposes capabilities to execute shell commands and control configured plugins. System availability impact is indirect, as an attacker with administrative control can shut down services or destroy configuration files.

Remediation and Mitigations

The primary remediation strategy is to upgrade the openclaw package to version 2026.5.7 or later. This upgrade modifies the validation logic to enforce matching via Discord Snowflake IDs.

In addition to updating the package, administrators must manually migrate existing configuration files. All entries in the allowFrom lists must be converted from text-based usernames or display names to their corresponding 18-digit numeric Snowflake IDs.

> [!WARNING] > Upgrading the package without updating the configuration files to use Snowflake IDs will cause the authorization check to fail for legitimate users, as display names will no longer match the expected format of numeric IDs.

If immediate upgrading is not feasible, temporary mitigation can be achieved by disabling the allowFrom feature entirely or restricting access to the monitored Discord channels using Discord's built-in channel permission overrides. This ensures that only trusted users are capable of sending messages to the target channel.

Official Patches

openclawOfficial Security Advisory

Technical Appendix

CVSS Score
8.6/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS Probability
0.21%
Top 89% most exploited

Affected Systems

openclaw

Affected Versions Detail

Product
Affected Versions
Fixed Version
openclaw
openclaw
< 2026.5.72026.5.7
AttributeDetail
CWE IDCWE-290 (Authentication Bypass by Spoofing)
Attack VectorNetwork (AV:N)
CVSS Score8.6 (High)
EPSS Score0.00213 (0.213%)
ImpactPrivilege Escalation / Remote Command Execution
Exploit StatusProof of Concept (PoC)
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1078.004Valid Accounts: Cloud Accounts
Initial Access
T1556Modify Authentication Process
Defense Evasion
CWE-290
Authentication Bypass by Spoofing

The system receives input from a user, claims to associate that input with a trusted identity, but validates the identity using a mutable or easily spoofed attribute.

Vulnerability Timeline

CVE Published
2026-06-16
GHSA Advisory Released
2026-06-16
Patch Version 2026.5.7 Released
2026-06-16

References & Sources

  • [1]GitHub Security Advisory
  • [2]VulnCheck Security Portal
  • [3]CVE.org Record
  • [4]NVD reference

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•1 day ago•CVE-2026-54068
5.9

CVE-2026-54068: Unauthenticated Server-Side Template Injection and SQLite Exfiltration in SiYuan PKM

An authentication bypass in the SiYuan personal knowledge management system before version 3.7.0 exposes a dynamic icon rendering endpoint. This endpoint processes client-supplied Go template directives. By submitting a crafted request, an unauthenticated remote attacker can leverage registered database template functions to execute arbitrary read-only SQL queries and exfiltrate workspace contents.

Amit Schendel
Amit Schendel
10 views•5 min read
•1 day ago•CVE-2026-54069
9.1

CVE-2026-54069: Authentication Bypass in SiYuan Note via Origin Header Spoofing

CVE-2026-54069 is a critical authentication bypass vulnerability in the SiYuan Note personal knowledge management system. The flaw is located in the HTTP server's middleware handling API authorization, which unconditionally trusts requests carrying a 'chrome-extension://' scheme in the Origin HTTP header, granting administrative access without validating API tokens.

Alon Barad
Alon Barad
8 views•5 min read
•1 day ago•CVE-2026-54089
9.1

CVE-2026-54089: Authentication Bypass by Spoofing in File Browser

CVE-2026-54089 is a critical authentication bypass vulnerability in File Browser affecting instances configured with proxy-based authentication. An unauthenticated remote attacker with direct network access can impersonate arbitrary users or register new accounts by spoofing configured HTTP headers.

Amit Schendel
Amit Schendel
6 views•7 min read
•1 day ago•GHSA-99J7-FHR2-XFJ4
10.0

GHSA-99J7-FHR2-XFJ4: Malicious Remote Code Execution Payload in 'exploration' Cargo Crate

The malicious Cargo package 'exploration' was uploaded to the crates.io registry. During compilation or package import, the crate executes code designed to establish an outbound TCP/HTTP connection, download an external second-stage binary, and execute the binary locally on the host machine. This creates an unauthenticated remote code execution vector impacting developer environments and continuous integration pipelines.

Amit Schendel
Amit Schendel
9 views•6 min read
•1 day ago•CVE-2026-54088
9.3

CVE-2026-54088: Pre-Authentication Remote Code Execution in File Browser Hook Authentication

CVE-2026-54088 is a critical command injection vulnerability in File Browser prior to version 2.63.6. When Hook Authentication is enabled, the application interpolates unsanitized credentials into a shell command, allowing unauthenticated remote code execution.

Alon Barad
Alon Barad
7 views•6 min read
•1 day ago•GHSA-QV4M-M73M-8HJ7
8.8

GHSA-qv4m-m73m-8hj7: Authenticated Arbitrary File Upload leading to Remote Code Execution in NotrinosERP

An authenticated remote code execution vulnerability exists in NotrinosERP (versions up to and including 1.0.0) within the Human Resource Management (HRM) module. Users with employee management permissions can upload arbitrary file types, including PHP scripts, which are written directly to a web-accessible directory. This allows for arbitrary code execution in the context of the web-server user.

Alon Barad
Alon Barad
7 views•6 min read