CVE-2026-41374: OpenClaw runs Discord audio preflight transcription before member authorization
OpenClaw 2026.3.28 and earlier transcribe Discord voice notes from guild members before checking the user and role allowlist. Anyone who can post audio in a channel the bot watches can make it burn transcription compute or paid API usage. Upgrade to openclaw 2026.3.31.
Published Apr 3, 2026 · Updated May 6, 2026 · Analysis Oct 30, 2026
What an attacker can do
In preflightDiscordMessage (extensions/discord/src/monitor/message-handler.preflight.ts), the audio mention check ran first. It called resolveDiscordPreflightAudioMentionContext, which transcribes an audio attachment so the bot can look for a mention. The member access check, resolveDiscordMemberAccessState with its deny branch, ran after that. A voice note from a member outside the channel's users or roles allowlist was therefore transcribed, and only then dropped.
The attacker needs to be able to post an audio attachment in a guild channel the bot reads. They need no allowlist entry, no mention and no click. Each attachment costs a transcription call, which means local CPU or GPU time or per-minute charges at a hosted speech provider. A flood can run up a bill or slow the bot. The maintainers class this as pre-authorization resource consumption and rate it medium, not an authentication bypass: the message is still rejected afterwards, so the attacker gains no control of the agent and no data.
Who is affected
The npm package openclaw at 2026.3.28 and earlier, with the Discord channel enabled in a guild where a user or role allowlist is configured and audio preflight is active. Version 2026.3.31 is the first stable release with the fix.
Check your install:
npm ls -g openclaw
openclaw --versionopenclaw
- Ecosystem
- npm
- Affected
- <= 2026.3.28
- Fixed in
- 2026.3.31
- Check
npm ls openclaw
How to fix it
Upgrade to openclaw 2026.3.31 or later.
npm install -g [email protected]Commit ee52f642 moves the resolveDiscordMemberAccessState call and its deny check ahead of the audio mention step. A guild sender who is not on the users or roles allowlist is now rejected with the log line Blocked discord guild sender (not in users/roles allowlist) and no audio is transcribed. A new test confirms the transcription mock is never called for an unauthorized member. The advisory names no workaround.
How to tell if you were hit
Check the usage and billing of your transcription provider for audio minutes that do not match your allowed members. In OpenClaw's Discord logs, look for blocked-sender lines that follow transcription activity on older versions. Compare audio attachments posted by users who are not on your allowlist with the transcription calls made. High CPU or GPU load on the host during bursts of voice notes is another sign. After the fix, the blocked-sender line no longer includes the sender's ID.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Summary
Discord audio preflight transcription before member authorization
Current Maintainer Triage
- Status: narrow
- Normalized severity: medium
- Assessment: v2026.3.28 still runs Discord audio preflight before member allowlist rejection, but this is the same pre-auth resource-consumption class and not the high-severity auth-bypass framing in the draft.
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)
ee52f64226a03efadfdf1e3b759e13424a3d4e41— 2026-03-30T14:38:22+01:00
OpenClaw thanks @AntAISecurityLab for reporting.
Credited to AntAISecurityLab.
Questions
- Is OpenClaw 2026.3.28 affected by CVE-2026-41374?
Yes. Versions up to and including 2026.3.28 are vulnerable. The patched version is 2026.3.31.
- Does this let an outsider run commands through the bot?
No. The message is still dropped after transcription. The effect is wasted transcription compute or billing, as the maintainers describe it.
- Is it exploited in the wild?
No source I read says so, and the entry has no CISA KEV flag. The EPSS score is about 0.5%.
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
