AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-28448: OpenClaw Twitch allowFrom is not enforced in optional plugin, unauthorized chat users can trigger agent pipeline

highCVSS 3.1 7.3GHSA-33rq-m5x2-fvgf

The optional OpenClaw Twitch plugin did not enforce its allowFrom list. Any Twitch user who could mention the bot could trigger the agent pipeline. Versions 2026.1.29 up to but not including 2026.2.1 are affected, and 2026.2.1 fixes it. Core installs without the Twitch plugin are not affected.

Published Feb 17, 2026 · Updated Mar 11, 2026 · Analysis Nov 9, 2026

What an attacker can do

allowFrom is documented as a hard allowlist of Twitch user IDs. In checkTwitchAccessControl() in extensions/twitch/src/access-control.ts, a listed user got allowed: true, but a user not on the list did not get allowed: false, so the code fell through. If allowedRoles was unset or empty, the function then returned allowed: true by default.

The attack is simple. An attacker with any Twitch account types a message that mentions the bot, such as @botname hello. The message is accepted and dispatched to the agent, even though the account is not in allowFrom.

What the attacker gets depends on how the agent is set up: the tools it can call, its routing, and the model cost. The advisory names unintended actions and replies, and resource or cost exhaustion. Operators who relied on allowFrom alone, and left allowedRoles empty, were exposed.

Who is affected

npm package openclaw from 2026.1.29 up to but not including 2026.2.1, and only where the Twitch plugin is installed and enabled. The risky setup is allowFrom set with allowedRoles unset or empty. Check with:

npm ls openclaw

Then check your config for the Twitch channel plugin.

openclaw

Ecosystem
npm
Affected
>= 2026.1.29, < 2026.2.1
Fixed in
2026.2.1
Check
npm ls openclaw

How to fix it

Upgrade openclaw to 2026.2.1 or later. The advisory lists the upgrade as the workaround.

npm install openclaw@latest

The fix commit makes allowFrom a hard gate in the Twitch access control. If you cannot upgrade, disable the Twitch plugin.

How to tell if you were hit

Compare Twitch user IDs in your agent dispatch logs with your allowFrom list. Any dispatch from an ID that is not on the list, between the install of an affected version and the upgrade, shows the bypass. Also check for unexpected model usage or cost spikes while the plugin was enabled.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

In the optional Twitch channel plugin (extensions/twitch), allowFrom is documented as a hard allowlist of Twitch user IDs, but it was not enforced as a hard gate. If allowedRoles is unset or empty, the access control path defaulted to allow, so any Twitch user who could mention the bot could reach the agent dispatch pipeline.

Scope note: This only affects deployments that installed and enabled the Twitch plugin. Core OpenClaw installs that do not install/enable the Twitch plugin are not impacted.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Affected: >= 2026.1.29, < 2026.2.1
  • Fixed: >= 2026.2.1

Details

Affected component: Twitch plugin access control (extensions/twitch/src/access-control.ts).

Problematic logic in checkTwitchAccessControl():

  • When allowFrom was configured, the code returned allowed: true for members but did not return allowed: false for non-members, so execution fell through.
  • If allowedRoles was unset or empty, the function returned allowed: true by default, even when allowFrom was configured.

Proof of Concept (PoC)

  1. Install and enable the Twitch plugin.
  2. Configure an allowFrom list, but do not set allowedRoles (or set it to an empty list).
  3. From a different Twitch account whose user ID is NOT in allowFrom, send a message that mentions the bot (for example @<botname> hello).
  4. Observe the message is processed and can trigger agent dispatch/replies despite not being allowlisted.

Impact

Authorization bypass for operators who relied on allowFrom to restrict who can invoke the bot in Twitch chat. Depending on configuration (tools, routing, model costs), this could lead to unintended actions/responses and resource or cost exhaustion.

Fix Commit(s)

  • 8c7901c984866a776eb59662dc9d8b028de4f0d0

Workaround

Upgrade to openclaw >= 2026.2.1.

Thanks @MegaManSec (https://joshua.hu) of AISLE Research Team for reporting.

Credited to MegaManSec.

Questions

Does CVE-2026-28448 affect OpenClaw without the Twitch plugin?

No. The advisory says core installs that do not install and enable the Twitch plugin are not impacted.

Does setting allowedRoles protect me?

The bug is that an empty or unset allowedRoles defaulted to allow, and non-members of allowFrom were not rejected. Upgrade to 2026.2.1 rather than relying on a config workaround.

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