A vulnerability was identified in FoundationAgents MetaGPT up to 0.8.1. This affects the function generate_thoughts of the file metagpt/strategy/tot.py of the component Tree-of-Thought Solver. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
CVE-2026-6110 is a code injection vulnerability in FoundationAgents MetaGPT versions up to 0.8.1 affecting the Tree-of-Thought Solver component. The vulnerability allows remote attackers to execute arbitrary code through the generate_thoughts function in metagpt/strategy/tot.py.
ثغرة حقن أكواد في مكون Tree-of-Thought Solver في FoundationAgents MetaGPT تسمح بتنفيذ أكواد عشوائية عن بعد. الاستغلال متاح للجمهور والمشروع لم يستجب للإبلاغ عن المشكلة حتى الآن.
FoundAgents MetaGPT الإصدارات حتى 0.8.1 تحتوي على ثغرة حقن أكواد في مكون Tree-of-Thought Solver. يمكن للمهاجمين البعيدين تنفيذ أكواد عشوائية عبر دالة generate_thoughts في ملف metagpt/strategy/tot.py.
Update FoundationAgents MetaGPT to version 0.8.2 or later immediately. Implement input validation and sanitization for all user-supplied data passed to the generate_thoughts function. Apply network segmentation to restrict access to MetaGPT instances. Monitor for suspicious code execution patterns and implement Web Application Firewall (WAF) rules to detect injection attempts.
قم بتحديث FoundationAgents MetaGPT إلى الإصدار 0.8.2 أو أحدث فوراً. طبق التحقق من صحة المدخلات وتنظيفها لجميع البيانات المدخلة من المستخدمين. طبق تقسيم الشبكة لتقييد الوصول إلى مثيلات MetaGPT. راقب أنماط تنفيذ الأكواد المريبة وطبق قواعد جدار الحماية لكشف محاولات الحقن.