Privilege Escalation Vulnerability in OpenClaw: Discord allowFrom Feature Misconfiguration

openclaw Updated 23 Jun 2026

Summary

16/06/2026
HIGH
No i
High
8.1

GHSA-p44v-rx83-vjp4: Duplicate Advisory: Discord allowFrom could bind to mutable display names. Affects openclaw versions < 2026.5.6. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

OpenClaw is an open-source package designed for managing interactions with Discord, enabling users to create bots and automate tasks within the Discord ecosystem. It leverages Discord's API to facilitate communication and user management. However, a critical vulnerability has been identified in versions prior to 2026.5.7, which allows attackers to exploit mutable display names for unauthorized access.

Vulnerability Detail

The vulnerability arises from the allowFrom feature in OpenClaw, which improperly validates Discord account identities. Instead of relying on immutable user IDs, it uses mutable display names, which can be easily changed by users. This flaw allows attackers to modify their display names to match those of legitimate users, thereby gaining unauthorized access to agent functionalities intended for other Discord identities. The potential ramifications include unauthorized actions being performed under the guise of another user, leading to privacy breaches and security risks.

How To Fix

No fixed version is published for this vulnerability.

To rectify this vulnerability, update OpenClaw to version 2026.5.7 or later. You can do this by running the following command in your terminal: npm install openclaw@latest. This will ensure that you are using a version of the package that has addressed the vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, consider disabling the allowFrom feature until you can update to the patched version. This can be done by modifying your configuration settings to restrict access based on immutable identifiers.

Conclusion

In summary, a privilege escalation vulnerability exists in OpenClaw due to improper validation of Discord account identities. Users are urged to update to the latest version to mitigate risks associated with unauthorized access. Utilizing tools like Vulert can help monitor and alert for such vulnerabilities in real-time.

See every vulnerability recorded for openclaw →

Share this vulnerability

FAQ

The vulnerability allows attackers to gain unauthorized access by exploiting mutable display names instead of using secure, immutable user IDs.

You can check if your application is affected by using Vulert, which monitors vulnerabilities in your package-lock.json file. Visit Vulert Scanner to use the Vulert playground without signup.

The consequences include unauthorized access to sensitive functionalities, which can lead to privacy violations and misuse of user accounts.

Yes, the vulnerability has been patched in version 2026.5.7 of OpenClaw. It is recommended to update to this version or later.

The CVSS score of this vulnerability is 8.1, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for openclaw.

How To Fix

No fixed version is published for this vulnerability.

To rectify this vulnerability, update OpenClaw to version 2026.5.7 or later. You can do this by running the following command in your terminal: npm install openclaw@latest. This will ensure that you are using a version of the package that has addressed the vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.