OpenClaw before 2026.4.23 contains an improper access control vulnerability in the gateway tool's config.apply and config.patch operations that allows compromised models to write unsafe configuration changes by bypassing an incomplete denylist protection. Attackers can persist malicious config modifications affecting command execution, network behavior, credentials, and operator policies that survive restart.
OpenClaw before version 2026.4.23 contains a critical improper access control vulnerability (CVE-2026-45006) in gateway configuration operations that allows compromised models to bypass security controls and persist malicious configurations. The vulnerability affects command execution, network behavior, credentials, and operator policies, with changes surviving system restarts. This poses significant risk to organizations using OpenClaw in production environments, particularly those relying on it for critical infrastructure management.
IMMEDIATE ACTIONS:
1. Identify all OpenClaw instances in your environment and document versions currently deployed
2. Isolate or restrict network access to OpenClaw gateways pending patch deployment
3. Review gateway configuration change logs for unauthorized modifications, particularly in config.apply and config.patch operations
4. Audit all stored credentials and API keys managed through OpenClaw for potential compromise
PATCHING GUIDANCE:
1. Upgrade OpenClaw to version 2026.4.23 or later immediately
2. Test patches in non-production environments first, particularly for critical infrastructure
3. Plan maintenance windows to minimize service disruption
4. Verify patch application by confirming version and checking denylist protection functionality
COMPENSATING CONTROLS (if immediate patching not possible):
1. Implement network segmentation to restrict access to OpenClaw gateway endpoints
2. Enable comprehensive audit logging for all config.apply and config.patch operations
3. Implement read-only mode for configuration where operationally feasible
4. Deploy file integrity monitoring on OpenClaw configuration directories
5. Restrict model deployment permissions to trusted sources only
DETECTION RULES:
1. Monitor for config.apply and config.patch API calls with unusual parameters
2. Alert on configuration changes that modify command execution, network settings, or credential storage
3. Track configuration changes that persist across system restarts
4. Detect attempts to modify denylist protection mechanisms
5. Monitor for unauthorized model deployments or model updates
الإجراءات الفورية:
1. حدد جميع مثيلات OpenClaw في بيئتك وتوثيق الإصدارات المنشرة حالياً
2. عزل أو تقييد الوصول الشبكي إلى بوابات OpenClaw في انتظار نشر التصحيح
3. راجع سجلات تغيير تكوين البوابة للتعديلات غير المصرح بها، خاصة في عمليات config.apply و config.patch
4. تدقيق جميع بيانات الاعتماد ومفاتيح API المخزنة من خلال OpenClaw للتحقق من احتمال الاختراق
إرشادات التصحيح:
1. ترقية OpenClaw إلى الإصدار 2026.4.23 أو أحدث فوراً
2. اختبر التصحيحات في بيئات غير الإنتاج أولاً، خاصة للبنية التحتية الحرجة
3. خطط نوافذ الصيانة لتقليل انقطاع الخدمة
4. تحقق من تطبيق التصحيح بتأكيد الإصدار والتحقق من وظيفة حماية قائمة الحظر
الضوابط البديلة (إذا لم يكن التصحيح الفوري ممكناً):
1. تنفيذ تقسيم الشبكة لتقييد الوصول إلى نقاط نهاية بوابة OpenClaw
2. تفعيل تسجيل التدقيق الشامل لجميع عمليات config.apply و config.patch
3. تنفيذ الوضع المقروء فقط للتكوين حيث يكون ممكناً من الناحية التشغيلية
4. نشر مراقبة سلامة الملفات على دلائل تكوين OpenClaw
5. تقييد أذونات نشر النموذج للمصادر الموثوقة فقط
قواعد الكشف:
1. مراقبة استدعاءات API config.apply و config.patch بمعاملات غير عادية
2. تنبيهات على تغييرات التكوين التي تعدل تنفيذ الأوامر والإعدادات الشبكية أو تخزين بيانات الاعتماد
3. تتبع تغييرات التكوين التي تستمر عبر إعادة تشغيل النظام
4. الكشف عن محاولات تعديل آليات حماية قائمة الحظر
5. مراقبة نشر النماذج غير المصرح بها أو تحديثات النموذج