Description
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.
Published: 2026-01-23
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Foundation Agents MetaGPT contains a flaw in its deserialize_message function that fails to validate data before deserialization. This allows an attacker to send a specially crafted payload that is processed as trusted data, resulting in arbitrary code execution with the privileges of the service account. No authentication is required for exploitation.

Affected Systems

The vulnerability is confirmed in Foundation Agents MetaGPT version 0.8.1. Earlier releases are not explicitly listed as affected, but the deserialization routine has not been changed prior to 0.8.1, so those versions might also be vulnerable.

Risk and Exploitability

The CVSS base score of 9.8 marks the flaw as critical. The EPSS score of less than 1 percent indicates a low current likelihood of exploitation, and the vulnerability is not yet listed in the CISA KEV catalog. Because authentication is not required, the threat vector is remote over the network, allowing any host that can reach the service endpoint to launch the exploit.

Generated by OpenCVE AI on June 18, 2026 at 11:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Foundation Agents MetaGPT to a patched version that addresses the deserialization flaw (for example, version 0.8.2 or later).
  • Limit network exposure of the MetaGPT service so that only trusted hosts can access the deserialize_message endpoint; enforce firewall rules or VPN isolation.
  • If an upgrade is not immediately possible, disable the deserialize_message function or replace it with a secure deserialization library that performs strict input validation.

Generated by OpenCVE AI on June 18, 2026 at 11:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 20 Feb 2026 13:45:00 +0000

Type Values Removed Values Added
First Time appeared Deepwisdom
Deepwisdom metagpt
CPEs cpe:2.3:a:deepwisdom:metagpt:0.8.1:*:*:*:*:*:*:*
Vendors & Products Deepwisdom
Deepwisdom metagpt

Fri, 23 Jan 2026 20:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 23 Jan 2026 16:45:00 +0000

Type Values Removed Values Added
First Time appeared Foundation Agents
Foundation Agents metagpt
Vendors & Products Foundation Agents
Foundation Agents metagpt

Fri, 23 Jan 2026 04:00:00 +0000

Type Values Removed Values Added
Description 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.
Title Foundation Agents MetaGPT deserialize_message Deserialization of Untrusted Data Remote Code Execution Vulnerability
Weaknesses CWE-502
References
Metrics cvssV3_0

{'score': 9.8, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Subscriptions

Deepwisdom Metagpt
Foundation Agents Metagpt
cve-icon MITRE

Status: PUBLISHED

Assigner: zdi

Published:

Updated: 2026-01-23T19:25:33.145Z

Reserved: 2026-01-08T22:49:43.018Z

Link: CVE-2026-0760

cve-icon Vulnrichment

Updated: 2026-01-23T19:25:20.912Z

cve-icon NVD

Status : Analyzed

Published: 2026-01-23T04:16:02.707

Modified: 2026-06-17T10:11:20.077

Link: CVE-2026-0760

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-18T11:30:04Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data