Metagpt
CVE-2026-0760
CRITICAL
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend malicious serialized message
-
Exploitdeserialize_message parses untrusted data
-
ExecutionTrigger deserialization gadget chain
-
ImpactExecute arbitrary code as service account
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 | No special conditions — remote unauthenticated exploitation against Foundation Agents MetaGPT instances with deserialize_message function accepting network-supplied serialized objects. |
| Impact | CVSS 9.8, EPSS 1.7%. MetaGPT is a multi-agent AI framework — deserialization in agent communication channels could compromise the entire agent orchestration system. |
| Exploit ScenarioDerived | An attacker injects a crafted serialized payload into MetaGPT's message queue. When another agent deserializes the message, the payload executes arbitrary code, potentially compromising all agents in the system. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 12, 2026
MetaGPT by Foundation Agents has an insecure deserialization in deserialize_message (EPSS 1.7%) enabling remote code execution through crafted serialized data in AI agent communications.
Earlier versions of this analysis (1)
Insecure deserialization in MetaGPT AI agent framework enables RCE.
RemediationAI
Update MetaGPT. Implement message validation and use safe serialization formats (JSON instead of pickle/cloudpickle).
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MetaGPT's deserialize_message function processes untrusted serialized data (CWE-502) from agent communications without validation, allowing attackers to inject malicious serialized objects that execute code during deserialization.
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
Foundation Agents MetaGPT deserialize_message Deserialization of Untrusted Data Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of Foundation Agents MetaGPT. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the deserialize_message function. The issue results from the lack of proper validation of user-supplied data, which can result in deserialization of untrusted data. An attacker can leverage this vulnerability to execute code in the context of the service account. Was ZDI-CAN-28121.
Executive ViewAI
A critical remote code execution vulnerability in Foundation Agents MetaGPT allows unauthenticated attackers to execute arbitrary code on affected systems with a 9.8 CVSS score. Organizations using MetaGPT for AI agent deployments face immediate risk of complete system compromise, data theft, and operational disruption. No vendor patch is currently available, making urgent mitigation essential.
Implement network segmentation isolating MetaGPT instances from critical systems; deploy Web Application Firewall (WAF) rules to detect and block deserialization payloads; disable remote agent functionality if not essential; restrict MetaGPT access to authenticated internal networks only; implement strict input validation and sanitization; enable detailed audit logging of all deserialization events; consider temporary suspension of MetaGPT deployments until patch availability; monitor vendor security advisories for patch timeline.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Affected Products (CPE)CVE.org
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
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
Cross-site request forgery in FoundationAgents MetaGPT through version 0.8.1 allows unauthenticated remote attackers to
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB