A vulnerability was identified in chatwoot up to 4.11.2. Affected by this vulnerability is the function Webhooks::Trigger in the library lib/webhooks/trigger.rb of the component Webhook API. Such manipulation of the argument url leads to server-side request forgery. The attack can be launched remotely. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
CVE-2026-5205 is a Server-Side Request Forgery (SSRF) vulnerability in Chatwoot versions up to 4.11.2 affecting the Webhook API component. An attacker can manipulate webhook URLs to make the server perform unauthorized requests to internal resources or external systems. With a CVSS score of 6.3 and publicly available exploit code, this poses a moderate risk to organizations using Chatwoot for customer communication and support operations.
Immediate Actions:
1. Audit all Chatwoot webhook configurations and identify URLs pointing to internal resources or sensitive systems
2. Implement network segmentation to restrict Chatwoot server outbound connections to only necessary external services
3. Review webhook logs for suspicious URL patterns or unexpected requests to internal IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1)
Patching Guidance:
1. Monitor Chatwoot GitHub repository for security updates beyond version 4.11.2
2. If running Chatwoot 4.11.2 or earlier, plan immediate upgrade once patched version is released
3. Contact Chatwoot support to request security patch timeline
Compensating Controls (until patch available):
1. Implement Web Application Firewall (WAF) rules to block webhook requests containing internal IP addresses or localhost references
2. Use API gateway to validate and sanitize webhook URLs before processing
3. Restrict Chatwoot server network access using firewall rules - deny outbound connections to private IP ranges
4. Implement webhook URL whitelist - only allow connections to pre-approved external domains
5. Disable webhook functionality if not actively used
Detection Rules:
1. Monitor for HTTP requests from Chatwoot server to private IP ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
2. Alert on webhook configuration changes, especially URL modifications
3. Log all outbound connections from Chatwoot application server
4. Monitor for requests to localhost, 127.0.0.1, or metadata service endpoints (169.254.169.254)
الإجراءات الفورية:
1. تدقيق جميع تكوينات Chatwoot webhook وتحديد عناوين URL التي تشير إلى موارد داخلية أو أنظمة حساسة
2. تنفيذ تقسيم الشبكة لتقييد اتصالات Chatwoot الصادرة إلى الخدمات الخارجية الضرورية فقط
3. مراجعة سجلات webhook للبحث عن أنماط عناوين URL المريبة أو الطلبات غير المتوقعة إلى نطاقات IP الداخلية
إرشادات التصحيح:
1. مراقبة مستودع Chatwoot GitHub للحصول على تحديثات أمان تتجاوز الإصدار 4.11.2
2. إذا كنت تقوم بتشغيل Chatwoot 4.11.2 أو أقدم، خطط للترقية الفورية بمجرد إصدار نسخة مصححة
3. اتصل بدعم Chatwoot لطلب جدول زمني لتصحيح الأمان
الضوابط البديلة (حتى توفر التصحيح):
1. تنفيذ قواعد جدار حماية تطبيقات الويب (WAF) لحظر طلبات webhook التي تحتوي على عناوين IP داخلية أو مراجع localhost
2. استخدام بوابة API للتحقق من صحة وتنظيف عناوين URL الخاصة بـ webhook قبل المعالجة
3. تقييد وصول شبكة خادم Chatwoot باستخدام قواعد جدار الحماية - رفض الاتصالات الصادرة إلى نطاقات IP الخاصة
4. تنفيذ قائمة بيضاء لعناوين URL الخاصة بـ webhook - السماح فقط بالاتصالات بالنطاقات الخارجية المعتمدة مسبقاً
5. تعطيل وظيفة webhook إذا لم تكن قيد الاستخدام النشط
قواعد الكشف:
1. مراقبة طلبات HTTP من خادم Chatwoot إلى نطاقات IP الخاصة
2. تنبيه عند تغييرات تكوين webhook، خاصة تعديلات عناوين URL
3. تسجيل جميع الاتصالات الصادرة من خادم تطبيق Chatwoot
4. مراقبة الطلبات إلى localhost أو نقاط نهاية خدمة البيانات الوصفية