Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | High-severity remote code injection in MetaGPT's benchmark evaluation component affecting unauthenticated network access. CVSS 7.3 reflects moderate confidentiality/integrity/availability impact. Publicly available exploit code and proof-of-concept significantly elevate priority despite moderate observed exploitation activity. Patch availability mitigates immediate risk for responsive organizations. |
| Exploit ScenarioDerived | Attacker sends crafted input to check_solution function in HumanEvalBenchmark/MBPPBenchmark component, injecting malicious code that executes during solution validation. No authentication required; network-accessible endpoint processes unsanitized manipulation payload directly, enabling remote code execution on MetaGPT instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 09, 2026
Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbitrary code through the check_solution function in HumanEvalBenchmark and MBPPBenchmark components. The vulnerability requires no user interaction and enables unauthorized access, data modification, and service disruption. Publicly available exploit code exists, disclosed via GitHub issue #1942. Vendor has not responded to early disclosure via pull request #1988 at time of analysis.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed. Vendor notified via GitHub pull request #1988 (https://github.com/FoundationAgents/MetaGPT/pull/1988) but has not issued formal response or release at time of analysis. Organizations should monitor vendor repository for patched release incorporating PR #1988 fix. Until patched version available, implement strict input validation on all user-supplied data passed to HumanEvalBenchmark and MBPPBenchmark check_solution functions. Consider disabling affected benchmark components if not operationally required. Apply network segmentation to limit remote access to MetaGPT instances. Review VulDB advisory https://vuldb.com/vuln/356524 and GitHub issue #1942 for additional technical details and potential workarounds.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-94 code injection flaw in check_solution function within benchmark evaluation modules. Unsanitized input to code execution context permits arbitrary code injection. CVSS vector AV:N/AC:L/PR:N confirms network-accessible attack with low complexity and no authentication requirement. Affects FoundationAgents MetaGPT cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:* through version 0.8.1.
Know when Metagpt gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Primary rating from Vendor (VulDB) · only source for this CVE.
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A vulnerability was detected in FoundationAgents MetaGPT up to 0.8.1. This affects the function check_solution of the component HumanEvalBenchmark/MBPPBenchmark. Performing a manipulation results in code injection. The attack may be initiated remotely. The exploit is now public and may be used. The project was informed of the problem early through a pull request but has not reacted yet.
Executive ViewAI
FoundationAgents MetaGPT versions up to 0.8.1 contain an unauthenticated remote code execution vulnerability in benchmark evaluation components that allows attackers to execute arbitrary code without authentication or user interaction. Organizations deploying MetaGPT for AI agent development face immediate risk of system compromise, data breach, and service disruption. Immediate upgrade to patched versions is critical to prevent active exploitation.
If upgrade cannot be completed within 24 hours: Disable or restrict network access to HumanEvalBenchmark and MBPPBenchmark components; implement strict firewall rules allowing only authenticated internal requests to the check_solution function; disable remote API endpoints for MetaGPT evaluation services. Apply vendor patch immediately upon availability confirmation.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell met
MetaGPT has a code injection vulnerability in actionoutput_str_to_mapping (EPSS 2.6%) allowing remote attackers to execu
MetaGPT by Foundation Agents has an insecure deserialization in deserialize_message (EPSS 1.7%) enabling remote code exe
Remote command injection in FoundationAgents MetaGPT versions 0.8.0 and 0.8.1 via the get_mime_type function in metagpt/
Remote code execution in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr
Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit
Remote code injection in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr
Remote command injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated network attackers to ex
Server-side request forgery (SSRF) in FoundationAgents MetaGPT up to version 0.8.1 allows authenticated remote attackers
A code injection vulnerability exists in Foundation Agents MetaGPT up to version 0.8.1, specifically in the DataInterpre
A code injection vulnerability exists in Foundation Agents MetaGPT versions up to 0.8.1 within the code_generate functio
Cross-site request forgery in FoundationAgents MetaGPT through version 0.8.1 allows unauthenticated remote attackers to
EUVD-2026-20984
GHSA-g977-h85w-h2xj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB