A vulnerability has been found in Foundation Agents MetaGPT up to 0.8.1. This affects the function code_generate of the file metagpt/ext/aflow/scripts/operator.py. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
CVE-2026-4515 is a code injection vulnerability in Foundation Agents MetaGPT versions up to 0.8.1 affecting the code_generate function, allowing remote attackers to execute arbitrary code. The vulnerability has been publicly disclosed with no vendor response, increasing exploitation risk for organizations using affected versions.
ثغرة حقن الأكواد في دالة code_generate بملف metagpt/ext/aflow/scripts/operator.py تسمح للمهاجمين بتنفيذ أكواد عشوائية عن بعد. الثغرة تؤثر على جميع الإصدارات حتى 0.8.1 وتم الكشف عنها علناً مع عدم استجابة البائع.
ثغرة حقن الأكواد في Foundation Agents MetaGPT الإصدارات حتى 0.8.1 تؤثر على دالة code_generate، مما يسمح للمهاجمين بتنفيذ أكواد عشوائية عن بعد. تم الكشف عن الثغرة علناً دون رد من البائع، مما يزيد من خطر الاستغلال.
Immediately upgrade Foundation Agents MetaGPT to version 0.8.2 or later. If immediate patching is not possible, restrict network access to systems running MetaGPT and implement input validation controls. Monitor for suspicious code generation activities and review access logs for unauthorized usage.
قم بترقية Foundation Agents MetaGPT إلى الإصدار 0.8.2 أو أحدث فوراً. إذا لم يكن الترقية الفورية ممكنة، قيّد الوصول الشبكي للأنظمة التي تشغل MetaGPT وطبّق عناصر تحكم التحقق من المدخلات. راقب أنشطة توليد الأكواد المريبة واستعرض سجلات الوصول للاستخدام غير المصرح به.