OpenClaw before 2026.3.11 contains an authorization bypass vulnerability in the gateway agent RPC that allows authenticated operators with operator.write permission to override workspace boundaries by supplying attacker-controlled spawnedBy and workspaceDir values. Remote operators can escape the configured workspace boundary and execute arbitrary file and exec operations from any process-accessible directory.
CVE-2026-33573 is a critical authorization bypass vulnerability in OpenClaw's gateway agent RPC that allows authenticated operators with operator.write permissions to escape workspace boundaries and execute arbitrary file and command operations. With a CVSS score of 8.8, this vulnerability poses significant risk to organizations using OpenClaw for infrastructure automation and process management. No patch is currently available, requiring immediate implementation of compensating controls and access restrictions.
IMMEDIATE ACTIONS:
1. Audit all OpenClaw deployments and identify instances running versions before 2026.3.11
2. Review access logs for any suspicious RPC calls with unusual spawnedBy or workspaceDir parameters
3. Restrict operator.write permissions to only essential personnel and implement principle of least privilege
4. Disable remote operator access if not absolutely required; use local-only access where possible
5. Implement network segmentation to isolate OpenClaw gateway agents from sensitive systems
COMPENSATING CONTROLS (until patch available):
6. Deploy WAF/IDS rules to detect and block RPC requests containing path traversal patterns (../, absolute paths outside workspace)
7. Implement file integrity monitoring on workspace directories to detect unauthorized modifications
8. Enable comprehensive audit logging for all RPC gateway operations with alerting on suspicious parameters
9. Use OS-level access controls to restrict OpenClaw process permissions to designated workspace directories only
10. Implement API rate limiting and request validation on gateway RPC endpoints
DETECTION RULES:
- Alert on RPC calls with spawnedBy values not matching expected operator identities
- Monitor for workspaceDir parameters containing path traversal sequences or absolute paths
- Track process execution from OpenClaw agents accessing directories outside configured workspace
- Flag any file operations in sensitive system directories initiated by OpenClaw processes
PATCHING:
11. Monitor OpenClaw release notes closely for version 2026.3.11 or later
12. Prepare patching plan immediately upon patch availability
13. Test patches in isolated environment before production deployment
الإجراءات الفورية:
1. تدقيق جميع نشرات OpenClaw وتحديد الحالات التي تعمل بإصدارات أقدم من 2026.3.11
2. مراجعة سجلات الوصول للكشف عن أي استدعاءات RPC مريبة بمعاملات spawnedBy أو workspaceDir غير عادية
3. تقييد صلاحيات operator.write للموظفين الأساسيين فقط وتطبيق مبدأ أقل صلاحية
4. تعطيل وصول المشغل البعيد إذا لم يكن مطلوباً بشكل مطلق؛ استخدم الوصول المحلي فقط حيث أمكن
5. تطبيق تقسيم الشبكة لعزل وكلاء بوابة OpenClaw عن الأنظمة الحساسة
الضوابط البديلة (حتى توفر التصحيح):
6. نشر قواعد WAF/IDS للكشف عن وحجب طلبات RPC التي تحتوي على أنماط اجتياز المسارات
7. تطبيق مراقبة سلامة الملفات على مجلدات مساحة العمل للكشف عن التعديلات غير المصرح بها
8. تفعيل تسجيل التدقيق الشامل لجميع عمليات بوابة RPC مع التنبيهات على المعاملات المريبة
9. استخدام عناصر التحكم في الوصول على مستوى نظام التشغيل لتقييد صلاحيات عملية OpenClaw
10. تطبيق تحديد معدل API والتحقق من صحة الطلب على نقاط نهاية بوابة RPC
قواعد الكشف:
- التنبيه على استدعاءات RPC بقيم spawnedBy لا تطابق هويات المشغل المتوقعة
- مراقبة معاملات workspaceDir التي تحتوي على تسلسلات اجتياز المسارات أو المسارات المطلقة
- تتبع تنفيذ العمليات من وكلاء OpenClaw الذين يصلون إلى مجلدات خارج مساحة العمل المكونة
- وضع علامة على أي عمليات ملفات في مجلدات النظام الحساسة التي يبدأها عمليات OpenClaw
التصحيح:
11. مراقبة ملاحظات إصدار OpenClaw عن كثب للإصدار 2026.3.11 أو أحدث
12. تحضير خطة التصحيح فوراً عند توفر التصحيح
13. اختبار التصحيحات في بيئة معزولة قبل نشرها في الإنتاج