A security flaw has been discovered in FoundationAgents MetaGPT up to 0.8.1. This impacts the function decode_image of the file metagpt/utils/common.py. The manipulation of the argument img_url_or_b64 results in server-side request forgery. It is possible to launch the attack remotely. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
CVE-2026-6111 is a server-side request forgery (SSRF) vulnerability in MetaGPT versions up to 0.8.1 affecting the decode_image function in metagpt/utils/common.py. The vulnerability allows remote attackers to manipulate the img_url_or_b64 parameter to perform unauthorized server requests.
ثغرة SSRF في MetaGPT تسمح للمهاجمين بمعالجة معامل img_url_or_b64 في وظيفة decode_image لتنفيذ طلبات HTTP غير مصرح بها من خادم التطبيق. يمكن استخدام هذه الثغرة للوصول إلى الموارد الداخلية أو إجراء هجمات على أنظمة أخرى.
CVE-2026-6111 هو ثغرة في طلب الخادم من جانب الخادم (SSRF) في إصدارات MetaGPT حتى 0.8.1 تؤثر على وظيفة decode_image. تسمح الثغرة للمهاجمين البعيدين بمعالجة معاملات معينة لتنفيذ طلبات خادم غير مصرح بها.
Upgrade MetaGPT to version 0.8.2 or later immediately. Implement input validation and sanitization for img_url_or_b64 parameters. Deploy network segmentation to restrict outbound connections from affected systems. Monitor for suspicious image URL requests and implement Web Application Firewall (WAF) rules to block SSRF patterns.
قم بترقية MetaGPT إلى الإصدار 0.8.2 أو أحدث فوراً. طبق التحقق من صحة المدخلات وتنظيفها لمعاملات img_url_or_b64. قم بنشر تقسيم الشبكة لتقييد الاتصالات الصادرة من الأنظمة المتأثرة. راقب طلبات عناوين URL للصور المريبة وطبق قواعد جدار الحماية لحجب أنماط SSRF.