Metabase is an open-source data analytics platform. In versions prior to 0.57.13 and versions 0.58.x through 0.58.6, authenticated users are able to retrieve sensitive information from a Metabase instance, including database access credentials. During testing, it was confirmed that a low-privileged user can extract sensitive information including database credentials, into the email body via template evaluation. This issue has been fixed in versions 0.57.13 and 0.58.7. To workaround this issue, users can disable notifications in their Metabase instance to disallow access to the vulnerable endpoints.
CVE-2026-27464 is a high-severity vulnerability in Metabase affecting versions prior to 0.57.13 and 0.58.x through 0.58.6, allowing authenticated users to extract sensitive information including database credentials through template evaluation in notification features. The vulnerability poses significant risk to organizations using Metabase for business intelligence and analytics, as it enables privilege escalation and unauthorized access to backend database systems. Immediate patching to versions 0.57.13 or 0.58.7+ is critical to prevent credential compromise.
IMMEDIATE ACTIONS:
1. Identify all Metabase instances in your environment and verify current versions
2. Disable notification features immediately as a temporary workaround if patching cannot be completed within 48 hours
3. Review access logs for suspicious notification-related activities or template evaluation attempts
4. Audit user accounts with notification permissions and restrict to essential personnel only
PATCHING GUIDANCE:
1. Upgrade Metabase to version 0.57.13 or later (for 0.57.x branch)
2. Upgrade to version 0.58.7 or later (for 0.58.x branch)
3. Test patches in non-production environment before deployment
4. Schedule maintenance window for production upgrades with minimal business impact
COMPENSATING CONTROLS (if immediate patching not possible):
1. Disable email notifications and alert features in Metabase settings
2. Restrict network access to Metabase notification endpoints using WAF/firewall rules
3. Implement strict role-based access control (RBAC) limiting notification creation to administrators only
4. Monitor and log all notification configuration changes
5. Implement database credential rotation for all accounts accessible via Metabase
DETECTION RULES:
1. Monitor for POST requests to /api/email/preview or notification-related endpoints with template parameters
2. Alert on template evaluation patterns containing database credential references (password, secret, key patterns)
3. Track notification creation/modification by non-admin users
4. Monitor email logs for unusual credential-containing messages
5. Implement SIEM rules to detect CWE-94 (code injection) patterns in Metabase logs
الإجراءات الفورية:
1. حدد جميع مثيلات Metabase في بيئتك وتحقق من الإصدارات الحالية
2. عطّل ميزات الإخطارات فوراً كحل مؤقت إذا لم يكن التحديث ممكناً خلال 48 ساعة
3. راجع سجلات الوصول للأنشطة المريبة المتعلقة بالإخطارات أو محاولات تقييم القوالب
4. قم بتدقيق حسابات المستخدمين التي لديها أذونات الإخطارات وقيدها على الموظفين الأساسيين فقط
إرشادات التصحيح:
1. قم بترقية Metabase إلى الإصدار 0.57.13 أو أحدث (لفرع 0.57.x)
2. قم بترقية إلى الإصدار 0.58.7 أو أحدث (لفرع 0.58.x)
3. اختبر التصحيحات في بيئة غير الإنتاج قبل النشر
4. جدول نافذة صيانة لترقيات الإنتاج بأقل تأثير على الأعمال
الضوابط البديلة (إذا لم يكن التحديث الفوري ممكناً):
1. عطّل إخطارات البريد الإلكتروني وميزات التنبيهات في إعدادات Metabase
2. قيّد الوصول إلى نقاط نهاية إخطارات Metabase باستخدام قواعد WAF/جدار الحماية
3. طبّق التحكم في الوصول القائم على الأدوار (RBAC) بتقييد إنشاء الإخطارات للمسؤولين فقط
4. راقب وسجّل جميع تغييرات تكوين الإخطارات
5. طبّق تدوير بيانات اعتماد قاعدة البيانات لجميع الحسابات التي يمكن الوصول إليها عبر Metabase
قواعد الكشف:
1. راقب طلبات POST إلى /api/email/preview أو نقاط نهاية الإخطارات ذات الصلة مع معاملات القالب
2. أصدر تنبيهات على أنماط تقييم القوالب التي تحتوي على مراجع بيانات اعتماد قاعدة البيانات
3. تتبع إنشاء/تعديل الإخطارات من قبل المستخدمين غير الإداريين
4. راقب سجلات البريد الإلكتروني للرسائل التي تحتوي على بيانات اعتماد غير عادية
5. طبّق قواعد SIEM للكشف عن أنماط CWE-94 (حقن الأكواد) في سجلات Metabase