NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · OpenClaw

CVE-2026-44991: OpenClaw: Owner-enforced commands could accept wildcard channel senders as command owners

mediumCVSS 4.0 5.3GHSA-c28g-vh7m-fm7v

OpenClaw up to 2026.4.20 can let a non-owner pass the owner check for slash commands such as /send, /config and /debug. It happens when a channel plugin enforces owner-only commands, the channel accepts wildcard senders, and no owner list is set. Upgrade to openclaw 2026.4.21.

Published Apr 29, 2026 · Updated May 29, 2026 · Analysis Nov 5, 2026

What an attacker can do

Three settings combine to trigger it. A channel plugin declares commands.enforceOwnerForCommands: true. The channel accepts wildcard inbound senders with allowFrom: ["*"]. No commands.ownerAllowFrom is configured. In resolveCommandAuthorization in src/auto-reply/command-auth.ts, the owner decision reused the channel's wildcard. A wildcard allowFrom, or an empty owner-candidate list, counted as owner status.

Any sender the channel accepts, for example any user who can message an open DM channel, then passes the owner gate for commands like /send, /config and /debug. They could change configuration or send messages as the agent.

The advisory limits the scope. It affects only the command-owner authorization axis. It does not by itself grant owner-only tool access, host or sandbox access, or gateway administrator scope. The CVSS 4.0 score is 5.3, with low integrity impact and low privileges required.

Who is affected

The npm package openclaw at 2026.4.20 and earlier. You are exposed only with the three-part configuration above. Check the version:

npm ls openclaw

Then review each channel with enforceOwnerForCommands and open allowFrom in your OpenClaw config.

openclaw

Ecosystem
npm
Affected
<= 2026.4.20
Fixed in
2026.4.21
Check
npm ls openclaw

How to fix it

Upgrade to openclaw 2026.4.21 or later:

npm install -g [email protected]

The fix requires a concrete owner identity or an internal operator-admin scope when a plugin enforces owner-only commands. A wildcard allowFrom no longer implies wildcard command ownership. Before you upgrade, avoid wildcard or open-DM sender policy on owner-enforced channels, or set commands.ownerAllowFrom to the intended owner identities.

How to tell if you were hit

Review chat and gateway logs for /send, /config or /debug commands issued by senders who are not on your owner list, on channels with allowFrom set to the wildcard. Check your OpenClaw configuration for unexpected changes made through /config. The upstream fix adds a regression test for a Discord plugin with the wildcard, so Discord-style channels are a good place to start.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Impact

OpenClaw deployments before 2026.4.21 could treat a non-owner sender as authorized for owner-enforced slash commands when all of the following were true:

  • a channel plugin declared commands.enforceOwnerForCommands: true;
  • the channel accepted wildcard inbound senders with allowFrom: ["*"];
  • no explicit commands.ownerAllowFrom was configured.

In that state, src/auto-reply/command-auth.ts reused the channel inbound wildcard as part of the command-owner decision. A sender who was not the owner could therefore pass the owner-command gate for commands such as /send, /config, or /debug on the affected channel.

The issue is limited to the command-owner authorization axis. It does not by itself grant owner-only tool access, host/sandbox access, or gateway administrator scope.

Affected Packages / Versions

  • Package: openclaw on npm
  • Affected versions: <= 2026.4.20
  • Patched version: 2026.4.21

The latest public release, 2026.4.21, contains the fix.

Patches

The fix requires a concrete owner identity or internal operator-admin scope when a plugin enforces owner-only commands. Wildcard channel allowFrom no longer implies wildcard command ownership.

Fix commits:

  • 2aa93d44a1b2c7058c371f261fda2b5d4de4a882 on main
  • 995febb7b1e811ff6a1df5b18c22de94103f4c9f in the 2026.4.21 release line

Workarounds

Upgrade to [email protected] or later. Before upgrading, avoid wildcard/open-DM sender policy on owner-enforced channels, or configure commands.ownerAllowFrom to the intended owner identities.

Credits

OpenClaw thanks @zsxsoft for reporting.

Credited to zsxsoft, KeenSecurityLab, qclawer.

Questions

Does CVE-2026-44991 give an attacker host access?

Not by itself. The advisory says it does not grant owner-only tool access, host or sandbox access, or gateway administrator scope.

Am I safe if I set commands.ownerAllowFrom?

That is the advisory's pre-upgrade workaround. The trigger needs ownerAllowFrom to be unset. Upgrading to 2026.4.21 is the actual fix.

Which channels are at risk?

Those whose plugin sets commands.enforceOwnerForCommands to true and whose allowFrom includes the wildcard.

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