OpenClaw before 2026.3.28 contains an authorization bypass vulnerability in Discord text approval commands that allows non-approvers to resolve pending exec approvals. Attackers can send Discord text commands to bypass the channels.discord.execApprovals.approvers allowlist and approve pending host execution requests.
CVE-2026-41303 is a critical authorization bypass vulnerability in OpenClaw that allows unauthenticated users to approve pending host execution requests through Discord text commands, bypassing the approvers allowlist. This vulnerability has a CVSS score of 8.8 and poses significant risk to organizations using OpenClaw for infrastructure automation and approval workflows. No patch is currently available, requiring immediate compensating controls and access restrictions.
IMMEDIATE ACTIONS:
1. Disable Discord text command approval functionality in OpenClaw until patch is available
2. Restrict Discord channel access to only authorized approvers using IAM controls
3. Implement network-level restrictions on Discord API communications from OpenClaw instances
4. Audit all pending and recently approved host execution requests for unauthorized approvals
5. Review Discord audit logs for suspicious approval commands from non-approver accounts
COMPENSATING CONTROLS:
1. Implement multi-factor authentication (MFA) for all Discord accounts with approval permissions
2. Deploy API gateway controls to validate approver identity before processing approval commands
3. Implement approval request logging and alerting for all execution requests
4. Require manual verification of critical host execution requests through out-of-band channels
5. Restrict OpenClaw Discord bot permissions to read-only until patch deployment
DETECTION RULES:
1. Alert on Discord approval commands from accounts not in channels.discord.execApprovals.approvers list
2. Monitor for multiple failed approval attempts followed by successful approvals
3. Track approval commands during unusual hours or from unusual geographic locations
4. Alert on approval of high-risk execution requests (system-level, database, security-related)
5. Implement webhook validation to ensure approval commands originate from authorized Discord channels
الإجراءات الفورية:
1. تعطيل وظيفة الموافقة على أوامر نصية في Discord في OpenClaw حتى يتوفر التصحيح
2. تقييد الوصول إلى قناة Discord للمعتمدين المصرح لهم فقط باستخدام ضوابط إدارة الهوية والوصول
3. تنفيذ قيود على مستوى الشبكة على اتصالات Discord API من مثيلات OpenClaw
4. تدقيق جميع طلبات تنفيذ المضيف المعلقة والموافق عليها مؤخراً للموافقات غير المصرح بها
5. مراجعة سجلات تدقيق Discord للأوامر الموافقة المريبة من حسابات غير المعتمدين
الضوابط التعويضية:
1. تنفيذ المصادقة متعددة العوامل (MFA) لجميع حسابات Discord التي لها أذونات الموافقة
2. نشر ضوابط بوابة API للتحقق من هوية المعتمد قبل معالجة أوامر الموافقة
3. تنفيذ تسجيل وتنبيهات طلب الموافقة لجميع طلبات التنفيذ
4. طلب التحقق اليدوي من طلبات تنفيذ المضيف الحرجة من خلال قنوات خارج النطاق
5. تقييد أذونات روبوت Discord في OpenClaw للقراءة فقط حتى نشر التصحيح
قواعد الكشف:
1. تنبيه على أوامر الموافقة في Discord من الحسابات غير الموجودة في قائمة channels.discord.execApprovals.approvers
2. مراقبة محاولات الموافقة الفاشلة المتعددة متبوعة بموافقات ناجحة
3. تتبع أوامر الموافقة خلال ساعات غير عادية أو من مواقع جغرافية غير عادية
4. تنبيه على الموافقة على طلبات التنفيذ عالية المخاطر (مستوى النظام والقاعدة والأمان)
5. تنفيذ التحقق من webhook للتأكد من أن أوامر الموافقة تنشأ من قنوات Discord المصرح بها