What’s Vulnerable › Vulnerabilities

CVE-2026-115188

Description

An unrestricted file upload vulnerability exists in the campaign import feature of Mautic 7. When processing an uploaded campaign archive, the application copies the bundled asset files into a publicly accessible media directory without restricting their file names or types. An authenticated user with permission to create campaign imports can exploit this through the user interface or the API (/api/campaigns/import) to place arbitrary files, including server-side scripts, in the web root. Administrator privileges are not required. On web servers that honor per-directory configuration, such as the default Apache setup of the official Mautic Docker image, this leads to remote code execution with the privileges of the web server user, including access to the Mautic configuration, application secrets, and contact data.

Summary

CVE-2026-115188 is an unrestricted file upload flaw in Mautic 7's campaign import feature: uploaded archive assets are copied into a public media directory without filename or type restrictions, letting an authenticated user with campaign import permission (no admin rights needed) plant arbitrary files, including server-side scripts, via the UI or /api/campaigns/import. On servers honoring per-directory config, such as the default Apache setup in the official Mautic Docker image, this yields remote code execution as the web server user, exposing configuration, application secrets and contact data. CVSS is 9.9 critical; it is not in CISA KEV and no exploitation has been observed. Affected is mautic/core; upgrade to 7.2.2, and until then restrict campaign import permissions and avoid per-directory config execution in media directories.

تتمثل الثغرة CVE-2026-115188 في رفع ملفات غير مقيّد ضمن ميزة استيراد الحملات في Mautic 7، إذ تُنسخ ملفات الأصول المضمّنة في الأرشيف المرفوع إلى دليل وسائط متاح للعموم دون تقييد أسماء الملفات أو أنواعها. يتيح ذلك لمستخدم مصادَق يملك صلاحية إنشاء عمليات استيراد الحملات، دون صلاحيات مدير، زرع ملفات عشوائية بما فيها سكربتات من جانب الخادم عبر الواجهة أو /api/campaigns/import. وعلى خوادم تطبّق إعدادات الدلائل مثل إعداد Apache الافتراضي في صورة Mautic Docker الرسمية، يؤدي ذلك إلى تنفيذ شيفرة عن بُعد بصلاحيات مستخدم خادم الويب مع الوصول إلى الإعدادات وأسرار التطبيق وبيانات جهات الاتصال. درجة الخطورة 9.9 حرجة، والثغرة ليست في CISA KEV ولم يُرصد استغلال فعلي. المنتج المتأثر هو mautic/core، ويُعالَج بالترقية إلى 7.2.2، وإلى حين ذلك يُنصح بتقييد صلاحيات استيراد الحملات وتعطيل تنفيذ إعدادات الدلائل في أدلة الوسائط.

Affected products

How to fix

Upgrade to a fixed version: mautic/core 7.2.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-115188 or the next vulnerability affects your stack