Body Background
TrendAI™ Zero Day Initiative™ Logo

(0Day) Foundation Agents MetaGPT deserialize_message Deserialization of Untrusted Data Remote Code Execution Vulnerability

January 9th, 2026

Vulnerability Details

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.

Additional Details

09/19/25 – ZDI submitted the report to the vendor
10/14/25 – ZDI asked for updates
11/10/25 – ZDI asked for updates
12/09/25 – ZDI notified the vendor of the intention to publish the case as a 0-day advisory

-- Mitigation: Given the nature of the vulnerability, the only salient mitigation strategy is to restrict interaction with the product


Disclosure Timeline

  • 2025-09-19 - Vulnerability reported to vendor
  • 2026-01-09 - Coordinated public release of advisory
  • 2026-01-09 - Advisory Updated

Credit

Peter Girnus (@gothburz), Brandon Niemczyk of Trend Zero Day Initiative

Back to Advisories

Hero Background

Stand at the front line of proactive security

Trend ZDI connects the experts who discover, remediate, and defend.
Add your voice to the work that pushes attackers back.