A weakness has been identified in getsimpletool mcpo-simple-server up to 0.2.0. Affected is the function delete_shared_prompt of the file src/mcpo_simple_server/services/prompt_manager/base_manager.py. This manipulation of the argument detail causes relative path traversal. It is possible to initiate the attack remotely. The exploit has been made available to the public and could be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
CVE-2026-7404 is a path traversal vulnerability in getsimpletool mcpo-simple-server versions up to 0.2.0 that allows remote attackers to manipulate file paths through the delete_shared_prompt function. The vulnerability has a CVSS score of 7.3 (high) and could enable unauthorized file deletion or access to sensitive system files. No patch is currently available, and the project maintainers have not responded to early disclosure attempts.
Immediate Actions:
1. Identify all systems running getsimpletool mcpo-simple-server versions up to 0.2.0 in your environment
2. Isolate affected systems from production networks if possible or implement network segmentation
3. Disable the delete_shared_prompt functionality if not critical to operations
4. Implement strict input validation on the 'detail' parameter to reject path traversal sequences (../, ..\ etc.)
Compensating Controls:
1. Deploy Web Application Firewall (WAF) rules to block requests containing path traversal patterns
2. Implement file system access controls using principle of least privilege - restrict application process permissions
3. Monitor and log all file deletion attempts, particularly those targeting system directories
4. Use chroot/containerization to limit file system access scope
5. Implement file integrity monitoring on critical configuration and system files
Detection Rules:
1. Monitor for HTTP requests to delete_shared_prompt endpoint containing '../' or '..\\' sequences
2. Alert on file deletion operations outside expected application directories
3. Track failed file access attempts to sensitive paths (/etc, /var, /root, Windows system directories)
4. Monitor process execution with unusual file system permissions
Patching:
1. Monitor the getsimpletool GitHub repository for security updates
2. Prepare upgrade plan to versions > 0.2.0 once patches are released
3. Test patches in non-production environment before deployment
الإجراءات الفورية:
1. تحديد جميع الأنظمة التي تقوم بتشغيل إصدارات getsimpletool mcpo-simple-server حتى 0.2.0 في بيئتك
2. عزل الأنظمة المتأثرة عن شبكات الإنتاج إن أمكن أو تطبيق تقسيم الشبكة
3. تعطيل وظيفة delete_shared_prompt إذا لم تكن حرجة للعمليات
4. تطبيق التحقق الصارم من صحة المدخلات على معامل 'detail' لرفض تسلسلات اجتياز المسار
الضوابط التعويضية:
1. نشر قواعد جدار حماية تطبيقات الويب (WAF) لحجب الطلبات التي تحتوي على أنماط اجتياز المسار
2. تطبيق ضوابط الوصول إلى نظام الملفات باستخدام مبدأ الامتياز الأدنى
3. مراقبة وتسجيل جميع محاولات حذف الملفات، خاصة تلك التي تستهدف دلائل النظام
4. استخدام chroot/containerization لتحديد نطاق الوصول إلى نظام الملفات
5. تطبيق مراقبة سلامة الملفات على الملفات الحرجة والملفات الخاصة بالنظام
قواعد الكشف:
1. مراقبة طلبات HTTP إلى نقطة نهاية delete_shared_prompt التي تحتوي على تسلسلات '../' أو '..\\'
2. التنبيه على عمليات حذف الملفات خارج دلائل التطبيق المتوقعة
3. تتبع محاولات الوصول الفاشلة إلى المسارات الحساسة
4. مراقبة تنفيذ العملية بأذونات نظام ملفات غير عادية
التصحيح:
1. مراقبة مستودع getsimpletool GitHub للحصول على تحديثات الأمان
2. تحضير خطة الترقية إلى إصدارات > 0.2.0 بمجرد إصدار التصحيحات
3. اختبار التصحيحات في بيئة غير الإنتاج قبل النشر