OpenClaw before 2026.3.22 contains a privilege escalation vulnerability in the Control UI that allows unauthenticated sessions to retain self-declared privileged scopes without device identity verification. Attackers can exploit the device-less allow path in the trusted-proxy mechanism to maintain elevated permissions by declaring arbitrary scopes, bypassing device identity requirements.
CVE-2026-35638 is a critical privilege escalation vulnerability in OpenClaw's Control UI that allows unauthenticated sessions to retain elevated permissions without device identity verification. Attackers can exploit a device-less bypass in the trusted-proxy mechanism to declare arbitrary scopes and maintain privileged access. With a CVSS score of 8.8 and no patch currently available, this poses an immediate threat to organizations using OpenClaw in Node.js environments, particularly those managing critical infrastructure or sensitive systems.
IMMEDIATE ACTIONS:
1. Inventory all OpenClaw deployments in your environment and document versions
2. Implement network segmentation to restrict access to OpenClaw Control UI to trusted networks only
3. Enable comprehensive logging and monitoring of all authentication attempts and scope declarations
4. Disable device-less authentication paths in trusted-proxy configurations immediately
5. Implement mandatory device identity verification for all sessions regardless of proxy status
COMPENSATING CONTROLS (until patch available):
6. Deploy WAF rules to detect and block requests with suspicious scope declarations
7. Implement rate limiting on authentication endpoints
8. Enforce multi-factor authentication for all Control UI access
9. Deploy behavioral analytics to detect anomalous privilege escalation patterns
10. Implement session timeout policies (maximum 15 minutes for privileged sessions)
DETECTION RULES:
- Monitor for unauthenticated sessions declaring elevated scopes
- Alert on scope changes without corresponding device identity verification
- Track failed device identity verification attempts followed by successful privilege grants
- Monitor for repeated scope declaration attempts from same source
PATCHING:
- Subscribe to OpenClaw security advisories for patch availability
- Prepare upgrade plan to version 2026.3.22 or later immediately upon release
- Test patches in isolated environment before production deployment
الإجراءات الفورية:
1. قم بحصر جميع نشرات OpenClaw في بيئتك وتوثيق الإصدارات
2. تطبيق تقسيم الشبكة لتقييد الوصول إلى واجهة التحكم OpenClaw للشبكات الموثوقة فقط
3. تفعيل السجلات الشاملة ومراقبة جميع محاولات المصادقة والإعلانات عن النطاقات
4. تعطيل مسارات المصادقة الخالية من الجهاز في تكوينات الوكيل الموثوق فوراً
5. فرض التحقق الإلزامي من هوية الجهاز لجميع الجلسات بغض النظر عن حالة الوكيل
الضوابط التعويضية (حتى توفر التصحيح):
6. نشر قواعد WAF للكشف عن طلبات الإعلان عن النطاقات المريبة وحجبها
7. تطبيق تحديد معدل على نقاط نهاية المصادقة
8. فرض المصادقة متعددة العوامل لجميع عمليات الوصول إلى واجهة التحكم
9. نشر تحليلات السلوك للكشف عن أنماط رفع الامتيازات الشاذة
10. تطبيق سياسات انتهاء الجلسة (الحد الأقصى 15 دقيقة للجلسات المميزة)
قواعد الكشف:
- مراقبة الجلسات غير المصرح بها التي تعلن عن نطاقات مرتفعة
- تنبيهات عند تغيير النطاق دون التحقق المقابل من هوية الجهاز
- تتبع محاولات التحقق الفاشلة من هوية الجهاز متبوعة بمنح امتيازات ناجح
- مراقبة محاولات الإعلان المتكررة عن النطاق من نفس المصدر
التصحيح:
- الاشتراك في تنبيهات أمان OpenClaw لتوفر التصحيح
- تحضير خطة الترقية إلى الإصدار 2026.3.22 أو أحدث فوراً عند الإصدار
- اختبار التصحيحات في بيئة معزولة قبل نشرها في الإنتاج