Overview
Discord moderation action handling (timeout, kick, ban) used sender identity from request parameters in tool-driven flows, instead of trusted runtime sender context.
Impact
In setups where Discord moderation actions are enabled and the bot has the necessary guild permissions, a non-admin user could request moderation actions by spoofing sender identity fields.
Affected Packages / Versions
- Package:
openclaw (npm)
- Latest published affected version (as of 2026-02-19):
2026.2.17
- Affected range:
<=2026.2.17
- Fixed in planned next release:
2026.2.18
Fix
- Moderation authorization now uses trusted sender context (
requesterSenderId) instead of untrusted action params.
- Added permission checks for required guild capabilities per action.
Fix Commit(s)
775816035ecc6bb243843f8000c9a58ff609e32d
Thanks @aether-ai-agent for reporting.
References
Overview
Discord moderation action handling (
timeout,kick,ban) used sender identity from request parameters in tool-driven flows, instead of trusted runtime sender context.Impact
In setups where Discord moderation actions are enabled and the bot has the necessary guild permissions, a non-admin user could request moderation actions by spoofing sender identity fields.
Affected Packages / Versions
openclaw(npm)2026.2.17<=2026.2.172026.2.18Fix
requesterSenderId) instead of untrusted action params.Fix Commit(s)
775816035ecc6bb243843f8000c9a58ff609e32dThanks @aether-ai-agent for reporting.
References