Skip to main content

MetaGPT CVE-2026-10566

| EUVDEUVD-2026-33872 LOW
Deserialization of Untrusted Data (CWE-502)
2026-06-02 VulDB GHSA-3c3g-7hwg-9qmr
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain local low-privileged account
  2. Delivery
    Craft malicious mapping argument payload
  3. Exploit
    Invoke Message.check_instruct_content via MetaGPT pipeline
  4. Execution
    Trigger unsafe deserialization of attacker-controlled object
  5. Impact
    Achieve 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 mapping argument to Message.check_instruct_content in metagpt/schema.py, which occurs during MetaGPT's message instruction content processing. Exploitation is limited by: (1) the requirement for prior local system access, ruling out remote unauthenticated attackers; (2) the scope being unchanged (S:U), meaning the vulnerability does not inherently break container or VM boundaries; and (3) impact is limited to low across C/I/A, suggesting the deserialization does not trivially yield full system compromise. Non-default configurations or specific agent workflow setups that route untrusted input through message schema processing increase exposure.

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 mapping payload designed to abuse Python deserialization gadget chains, then triggers the Message.check_instruct_content function - accessible through MetaGPT's normal agent message-processing pipeline - with the malicious argument. The public POC at GitHub issue #2038 demonstrates the technique; upon deserialization, attacker-controlled objects are instantiated, enabling limited code execution, local file read/write, or privilege escalation depending on available gadget chains in the Python environment.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

MetaGPT 0.8.0
MetaGPT 0.8.2
MetaGPT 0.8.1

Affected Packages

pypi metagpt no fix

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

Vendor (VulDB) PRIMARY 1.9 LOW
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

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jun 02, 2026 - 03:22 NVD
MEDIUM LOW
CVSS changed
Jun 02, 2026 - 03:22 NVD
5.3 (MEDIUM) 1.9 (LOW)

DescriptionCVE.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

EPSS Score
0.0%
Top 93% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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.

CVE-2024-23750 HIGH POC
8.8 Jan 22

MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell met

CVE-2026-0761 CRITICAL
9.8 Jan 23

MetaGPT has a code injection vulnerability in actionoutput_str_to_mapping (EPSS 2.6%) allowing remote attackers to execu

CVE-2026-0760 CRITICAL
9.8 Jan 23

MetaGPT by Foundation Agents has an insecure deserialization in deserialize_message (EPSS 1.7%) enabling remote code exe

CVE-2026-5973 MEDIUM POC
5.5 Apr 09

Remote command injection in FoundationAgents MetaGPT versions 0.8.0 and 0.8.1 via the get_mime_type function in metagpt/

CVE-2026-5972 MEDIUM POC
5.5 Apr 09

Remote code execution in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr

CVE-2026-6110 MEDIUM POC
5.5 Apr 12

Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit

CVE-2026-5971 MEDIUM POC
5.5 Apr 09

Remote code injection in FoundationAgents MetaGPT up to version 0.8.1 allows unauthenticated attackers to execute arbitr

CVE-2026-5970 MEDIUM POC
5.5 Apr 09

Code injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated remote attackers to execute arbit

CVE-2026-5974 MEDIUM
6.9 Apr 09

Remote command injection in FoundationAgents MetaGPT versions up to 0.8.1 allows unauthenticated network attackers to ex

CVE-2026-6111 LOW POC
2.1 Apr 12

Server-side request forgery (SSRF) in FoundationAgents MetaGPT up to version 0.8.1 allows authenticated remote attackers

CVE-2026-4516 LOW POC
2.1 Mar 21

A code injection vulnerability exists in Foundation Agents MetaGPT up to version 0.8.1, specifically in the DataInterpre

CVE-2026-4515 LOW POC
2.1 Mar 21

A code injection vulnerability exists in Foundation Agents MetaGPT versions up to 0.8.1 within the code_generate functio

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy