CVE-2026-41406: OpenClaw: Feishu thread history and quoted messages bypass sender allowlist
OpenClaw's Feishu channel up to 2026.3.28 applied the group sender allowlist only to who could trigger the bot. Quoted replies, topic starters and thread history fetched from Feishu were still fed to the agent as context, even when their authors were not allowlisted. That lets blocked senders put text in front of the agent. Fixed in 2026.3.31.
Published Apr 2, 2026 · Updated May 6, 2026 · Analysis Oct 30, 2026
What an attacker can do
In a Feishu group, OpenClaw checks the sender against a group allowlist before it responds. The check did not cover context the plugin fetches afterwards. In extensions/feishu/src/bot.ts, the quoted message, the root (topic starter) message and the thread history were pulled from Feishu and attached to the agent's prompt as ReplyToBody, ThreadStarterBody and ThreadHistoryBody regardless of who wrote them.
An attacker who is not on the allowlist but can post in the same Feishu group or thread cannot make the bot respond directly. They can still plant text, such as a prompt injection, in a message that an allowed user later quotes or replies under. The agent reads it as trusted conversation context. The CVSS vectors reflect that: no privileges, user interaction required, low integrity impact.
The real risk is indirect prompt injection into an agent that may hold tools. How far it goes depends on what your agent is allowed to do. The maintainers confirmed the bypass is real in the shipped 2026.3.28 release and that SECURITY.md does not exempt remote sender-allowlist bypasses.
Who is affected
openclaw (npm) up to and including 2026.3.28, with the Feishu extension enabled and a group sender allowlist configured. The allowlist is either a per-group allowFrom or the global groupSenderAllowFrom. Check:
npm ls openclawand look for those keys in your Feishu channel config.
openclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.28
- Fixed in
- 2026.3.31
- Check
npm ls openclaw
How to fix it
Upgrade to 2026.3.31 or later:
npm install [email protected]Commit f45e5a6 computes an effective allowlist (a non-empty per-group allowFrom wins, otherwise groupSenderAllowFrom) and filters fetched context with it. A quoted message from a blocked sender keeps its ID but loses its body. A blocked topic starter is dropped. Thread history is filtered before it reaches the agent. Messages from the bot itself still pass. The sources give no workaround.
How to tell if you were hit
Review Feishu group threads where a non-allowlisted account posted and an allowlisted user then quoted or replied to it, and compare with agent actions that followed. After upgrading, the plugin logs a line when it skips a quoted message from a sender who is not allowed. Use that to see how often it happens. The advisory has no other indicators.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Feishu thread history and quoted messages bypass sender allowlist
Current Maintainer Triage
- Status: open
- Normalized severity: medium
- Assessment: Real in shipped v2026.3.28 Feishu because fetched quoted/root/thread context bypasses sender allowlists, and SECURITY.md does not exempt remote sender-allowlist bypasses.
Affected Packages / Versions
- Package:
openclaw(npm) - Latest published npm version:
2026.3.31 - Vulnerable version range:
<=2026.3.28 - Patched versions:
>= 2026.3.31 - First stable tag containing the fix:
v2026.3.31
Fix Commit(s)
f45e5a6569aab1d58cc6de25b19f1dc4c8779b85— 2026-03-31T19:43:54+09:00
Release Process Note
- The fix is already present in released version
2026.3.31. - This draft looks ready for final maintainer disposition or publication, not additional code-fix work.
OpenClaw thanks @AntAISecurityLab for reporting.
Credited to AntAISecurityLab.
Questions
- Does the bot respond to non-allowlisted senders?
No. The trigger check still worked. The flaw was that messages fetched as quoted, topic or thread context bypassed the allowlist and reached the agent.
- What can an attacker actually do?
Put text in front of the agent through a thread they can post in. That is mainly a prompt injection route. Scores show low integrity impact and user interaction needed.
- Is it fixed?
Yes, in openclaw 2026.3.31, the first stable tag with commit f45e5a6.
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 entriesCVE-2026-62197
OpenClaw: Browser CDP discovery could accept blocked WebSocket URLs
medium8.5Oct 21, 2026CVE-2026-35630
OpenClaw: QQBot native approval buttons did not enforce configured approver identity
high8.0Jul 2, 2026CVE-2026-53806
OpenClaw: Combined POSIX shell options could confuse exec revalidation
high8.8Jul 2, 2026CVE-2026-53809
OpenClaw: Embedded runner policy could be confused by provider aliases
medium3.8Jul 2, 2026CVE-2026-53810
OpenClaw's marketplace runtime extension metadata could point at unscanned payloads
high8.8Jul 2, 2026CVE-2026-53811
OpenClaw: Matrix allowFrom could bind to mutable display names
high8.8Jul 2, 2026
