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

CVE-2026-32021: OpenClaw has a Feishu allowFrom authorization bypass via display-name collision

mediumCVSS 4.0 6.3 · 3.1 6.5GHSA-j4xf-96qf-rx69

OpenClaw 2026.2.21-2 and earlier matched Feishu senders against `channels.feishu.allowFrom` using mutable display names as well as IDs. A sender could set a display name equal to an allowlisted open_id and be authorized. Upgrade to openclaw 2026.2.22.

Published Mar 3, 2026 · Updated Mar 30, 2026 · Analysis Oct 31, 2026

What an attacker can do

channels.feishu.allowFrom is documented as an ID-based allowlist of open_id values. In the vulnerable code, Feishu policy matching also compared the sender's display name against the same list. A display name is chosen by the user. An attacker who knows or guesses an allowlisted ID string can rename themselves to that string and pass the authorization check (CWE-639, CWE-863).

The attacker needs no existing access, only the ability to message the OpenClaw Feishu bot, and must learn an allowed ID. Once authorized, they can send messages the agent treats as coming from a trusted user. What that reaches depends on the agent's tools: the CVSS vectors rate confidentiality and integrity impact as low, and the advisory describes no host-level escalation.

Only deployments that use the Feishu channel with allowlist-based authorization are affected.

Who is affected

The openclaw npm package at 2026.2.21-2 and earlier (below 2026.2.22) is affected when Feishu is configured with an allowFrom allowlist. Check the version:

npm ls openclaw

Then look at channels.feishu.allowFrom in your configuration. If Feishu is not enabled, this flaw does not apply.

openclaw

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

How to fix it

Upgrade to openclaw 2026.2.22.

npm install [email protected]

Fix commit 4ed87a6 makes Feishu allowlist checks ID-only. It normalizes Feishu ID prefixes during comparison and ignores mutable display names for authorization. The advisory lists no workaround.

How to tell if you were hit

Review Feishu channel logs for authorized messages from senders whose open_id is not in allowFrom but whose display name looks like an allowlisted ID string. Check Feishu for users with display names that read like open_id values. Then review what the agent did in response to those messages. Beam records agent shell commands, file access and MCP tool calls, which shows actions taken after a message from an unexpected sender.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

Summary

Feishu allowlist authorization could be bypassed by display-name collision.

Details

channels.feishu.allowFrom is documented as an ID-based allowlist (open_id list), but Feishu policy matching accepted mutable sender display names in the same namespace. An attacker could set a display name equal to an allowlisted ID string and pass authorization checks.

The fix enforces ID-only matching for Feishu allowlist checks, normalizes Feishu ID prefixes during comparison, and ignores mutable display names for authorization.

Impact

Deployments using Feishu allowlist-based authorization could incorrectly authorize non-allowlisted senders when a colliding display name was used.

Affected Packages / Versions

  • Package: openclaw (npm)
  • Latest published version at triage time: 2026.2.21-2
  • Affected range: <= 2026.2.21-2
  • Planned patched version: >= 2026.2.22

Fix Commit(s)

  • 4ed87a667263ed2d422b9d5d5a5d326e099f92c7

Release Process Note

patched_versions is pre-set to the planned next release (>= 2026.2.22) so the advisory is ready to publish once that npm release is available.

OpenClaw thanks @jiseoung for reporting.

Credited to jiseoung.

Questions

Does the attacker need an account in my tenant?

The advisory does not say. The CVSS vector lists no privileges required, and the attacker only needs to appear as a sender with a chosen display name.

Does the attacker need to know an allowed ID?

Yes. The display name must equal an allowlisted ID string, so the attacker must know or guess one.

What fixes CVE-2026-32021?

openclaw 2026.2.22, which matches IDs only and ignores display names.

Is it exploited in the wild?

No source reports it, and it is not in CISA's KEV catalog.

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