OpenClaw is a personal AI assistant. In versions 2026.2.17 and below, Cron webhook delivery in src/gateway/server-cron.ts uses fetch() directly, so webhook targets can reach private/metadata/internal endpoints without SSRF policy checks. This issue was fixed in version 2026.2.19.
OpenClaw versions 2026.2.17 and below contain a Server-Side Request Forgery (SSRF) vulnerability in the Cron webhook delivery mechanism that allows attackers to access private, metadata, and internal endpoints without proper policy validation. The vulnerability exists in src/gateway/server-cron.ts where fetch() is called directly without SSRF protections. This could enable unauthorized access to sensitive internal services and metadata endpoints. A patch is available in version 2026.2.19.
Immediate Actions:
1. Identify all OpenClaw deployments in your environment and document their versions
2. Isolate or disable Cron webhook functionality if immediate patching is not possible
3. Review webhook configuration logs for suspicious target endpoints
Patching Guidance:
1. Upgrade OpenClaw to version 2026.2.19 or later immediately
2. Test the upgrade in a staging environment before production deployment
3. Verify webhook functionality post-upgrade
Compensating Controls (if patching delayed):
1. Implement network-level SSRF protection using Web Application Firewall (WAF) rules
2. Restrict OpenClaw process network access using firewall rules to only approved external endpoints
3. Disable Cron webhook delivery if not essential to operations
4. Implement strict egress filtering on the OpenClaw server
5. Use network segmentation to isolate OpenClaw from internal services
Detection Rules:
1. Monitor for fetch() calls to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1)
2. Alert on webhook targets pointing to metadata endpoints (/metadata, /internal, /.aws, /gce)
3. Log all outbound connections from OpenClaw processes
4. Monitor for unusual webhook delivery patterns or failed requests to internal services
الإجراءات الفورية:
1. حدد جميع نشرات OpenClaw في بيئتك وقم بتوثيق إصداراتها
2. عزل أو تعطيل وظيفة Cron webhook إذا لم يكن الترقيع الفوري ممكناً
3. راجع سجلات تكوين webhook للبحث عن نقاط نهاية مريبة
إرشادات الترقيع:
1. قم بترقية OpenClaw إلى الإصدار 2026.2.19 أو أحدث على الفور
2. اختبر الترقية في بيئة التطوير قبل نشرها في الإنتاج
3. تحقق من وظيفة webhook بعد الترقية
الضوابط البديلة (إذا تأخر الترقيع):
1. تنفيذ حماية SSRF على مستوى الشبكة باستخدام قواعد جدار الحماية (WAF)
2. تقييد وصول شبكة عملية OpenClaw إلى نقاط نهاية خارجية معتمدة فقط
3. تعطيل تسليم Cron webhook إذا لم يكن ضرورياً للعمليات
4. تنفيذ تصفية الخروج الصارمة على خادم OpenClaw
5. استخدام تقسيم الشبكة لعزل OpenClaw عن الخدمات الداخلية
قواعد الكشف:
1. مراقبة استدعاءات fetch() إلى نطاقات IP الخاصة (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1)
2. تنبيه على أهداف webhook التي تشير إلى نقاط نهاية البيانات الوصفية (/metadata, /internal, /.aws, /gce)
3. تسجيل جميع الاتصالات الصادرة من عمليات OpenClaw
4. مراقبة أنماط تسليم webhook غير العادية أو الطلبات الفاشلة إلى الخدمات الداخلية