AgentbeamBeta
AI agent vulnerability · OpenClaw

GHSA-9vvh-2768-c8vp: OpenClaw: Discord guild reaction ingress could bypass users and roles allowlists

mediumCVSS 3.1 5.4

OpenClaw before 2026.3.11 did not apply its Discord users and roles allowlist to emoji reactions in guild channels. A guild member who is not on the allowlist could still trigger reaction events, and OpenClaw queued them as trusted system events for the target session. Upgrade the npm package openclaw to 2026.3.11.

Published Mar 13, 2026 · Analysis Nov 7, 2026

What an attacker can do

OpenClaw lets operators limit which Discord guild members can talk to the agent, using users and roles allowlists. Normal guild messages pass through a preflight that enforces them. The reaction ingress path enforced DM, group, guild and channel policy, but skipped the member-level users and roles gate.

A reaction from a non-allowlisted member was therefore accepted and enqueued as a trusted system event for the routed session. The reaction text could then land in the agent's downstream session context. The attacker needs a Discord account in a guild where the bot is present, plus the ability to react in a channel it watches. No user interaction is needed (PR:L, UI:N).

The rating is medium: low confidentiality and low integrity impact, no availability impact. The risk for an agent team is context injection. Text that the allowlist was meant to keep out reaches a session the agent treats as trusted, which can steer later agent behaviour. The advisory does not describe a specific attack beyond that.

Who is affected

The npm package openclaw, all versions below 2026.3.11. The deployment is exposed if it uses the Discord integration in guild channels with a users or roles allowlist, since that allowlist was the control bypassed. Check the installed version:

npm ls openclaw

openclaw

Ecosystem
npm
Affected
< 2026.3.11
Fixed in
2026.3.11
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.3.11. The release applies the same users and roles allowlist enforcement to guild reaction ingress that normal inbound guild messages already get:

npm install [email protected]

The advisory lists no other workaround. Upgrade to 2026.3.11 or later.

How to tell if you were hit

Review Discord guild reactions from members who are not on your configured users or roles allowlist, around times when the agent session picked up unexpected context. Look in OpenClaw session logs for system events that came from reactions. Beam records agent shell commands, file access and MCP tool calls, so it can show whether an agent session acted on injected text.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

In affected versions of openclaw, Discord reaction ingestion for guild channels did not enforce the same member users and roles allowlist checks used for normal inbound guild messages. A non-allowlisted guild member could still trigger reaction events that were accepted and queued as trusted system events for the target session.

Impact

This is an authorization bypass in the Discord allowlist path. Reaction text could be injected into downstream session context even when the reacting guild member was not permitted by the configured users or roles allowlist.

Affected Packages and Versions

  • Package: openclaw (npm)
  • Affected versions: < 2026.3.11
  • Fixed in: 2026.3.11

Technical Details

The reaction ingress authorization path enforced DM, group, guild, and channel policy checks, but it did not apply the member-level users and roles allowlist gate that normal guild-message preflight uses. Accepted reactions were then enqueued as trusted system events for the routed session.

Fix

OpenClaw now applies the same users and roles allowlist enforcement to guild reaction ingress that it already applies to normal inbound guild messages. The fix shipped in [email protected].

Workarounds

Upgrade to 2026.3.11 or later.

Credited to zpbrent.

Questions

Is this the same as a Discord message bypass?

No. Normal guild messages were already checked against the users and roles allowlists. Only reaction ingestion skipped the member-level check.

Which OpenClaw version fixes it?

2026.3.11 on npm. All versions below it are affected.

What can a non-allowlisted member do?

Trigger reaction events that OpenClaw queues as trusted system events, so reaction text can enter the session context.

Is it exploited in the wild?

The advisory does not say so, and the entry has no CISA KEV data.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More OpenClaw vulnerabilities

All OpenClaw entries