Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local low-privileged account
-
DeliveryCraft malicious mapping argument payload
-
ExploitInvoke Message.check_instruct_content via MetaGPT pipeline
-
ExecutionTrigger unsafe deserialization of attacker-controlled object
-
ImpactAchieve limited code execution or data access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A08:2025 - Software or Data Integrity Failures
ASVS 5.0
V1 - Encoding and Sanitization Safe deserialization, type allowlists
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. |
| Exploitation Conditions | Exploitation requires local execution - the CVSS vector AV:L explicitly limits this to attackers already present on the target host. Low privileges are sufficient (PR:L), meaning a standard unprivileged user account is enough; no administrator or root access is needed to trigger the vulnerability. No user interaction is required (UI:N). The specific condition is that attacker-controlled data must be passable as the |
| Impact | The CVSS base score of 5.3 (Medium) reflects a local attack vector (AV:L), low complexity (AC:L), low privileges required (PR:L), no user interaction (UI:N), and limited impact across confidentiality, integrity, and availability (C:L/I:L/A:L). The local attack vector is the primary risk-limiting factor - this is not remotely exploitable over the network, which significantly constrains the attacker population to those with existing local system access. However, the public availability of exploit code (E:P, GitHub issue #2038) meaningfully raises real-world exploitation probability compared to unproven vulnerabilities at the same CVSS score. KEV status is absent, indicating no confirmed widespread active exploitation as of analysis time. RL:X in the temporal vector reflects that no remediation is available, which is a compounding factor - defenders cannot patch, only mitigate. The combination of no patch, public POC, and a multi-user AI framework context (where shared MetaGPT deployments may expose the vulnerable code path to multiple low-privileged users) elevates the practical risk above what the base score alone suggests for shared or cloud-hosted MetaGPT environments. |
| Exploit ScenarioDerived | An attacker with a local low-privileged account on a system running MetaGPT crafts a malicious |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 02, 2026
Unsafe deserialization in FoundationAgents MetaGPT versions up to and including 0.8.2 allows a local low-privileged attacker to achieve confidentiality, integrity, and availability impact by manipulating the mapping argument passed to Message.check_instruct_content in metagpt/schema.py. Publicly available exploit code (POC) exists via a GitHub issue report, elevating practical risk despite the local-only attack vector. No vendor patch has been released - the project was notified via issue report but has not responded, leaving installations without a remediation path.
RemediationAI
No vendor-released patch has been identified at time of analysis - the FoundationAgents project has not responded to the coordinated disclosure submitted via GitHub issue #2038 (https://github.com/FoundationAgents/MetaGPT/issues/2038). Organizations running MetaGPT should apply the following compensating controls: restrict local system access to MetaGPT installations to only fully trusted users, since exploitation requires low-privileged local access (PR:L); audit and sanitize any code paths that allow external or user-supplied data to reach Message.check_instruct_content in metagpt/schema.py; consider disabling or sandboxing MetaGPT agent workflows that process untrusted message inputs, accepting the trade-off of reduced AI pipeline functionality; and monitor the upstream GitHub repository at https://github.com/FoundationAgents/MetaGPT/ for a patched release. Organizations in multi-user or shared infrastructure deployments should treat this as higher priority given the public POC. Track the VulDB entry at https://vuldb.com/vuln/367673 for patch availability updates.
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
The vulnerability resides in the Message.check_instruct_content function within metagpt/schema.py, a core schema-handling module of the MetaGPT multi-agent AI framework (CPE: cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:*). The root cause is CWE-502 (Deserialization of Untrusted Data): the function processes a mapping argument without sufficient validation before deserializing its contents, allowing attacker-controlled data to be instantiated as arbitrary Python objects. This is a classic unsafe deserialization pattern where object graphs reconstructed from attacker input can invoke dangerous methods during the deserialization lifecycle - a well-understood attack class in Python environments using pickle, yaml.load, or similar mechanisms. The CVSS temporal metric E:P confirms proof-of-concept code exists, and RC:R indicates reasonable but not fully vendor-confirmed confidence in the vulnerability.
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:L/AC:L/AT:N/PR:L/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
2DescriptionCVE.org
A weakness has been identified in FoundationAgents MetaGPT up to 0.8.2. This affects the function Message.check_instruct_content of the file metagpt/schema.py. Executing a manipulation of the argument mapping can lead to deserialization. The attack is restricted to local execution. 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.
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
Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.
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
Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit
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
EUVD-2026-33872
GHSA-3c3g-7hwg-9qmr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB