---
id: CVE-2026-10566
aliases:
  - GHSA-3c3g-7hwg-9qmr
title: ' FoundationAgents MetaGPT: Deserialization through flawed argument mapping via Message.check_instruct_content()'
summary: ' FoundationAgents MetaGPT: Deserialization through flawed argument mapping via Message.check_instruct_content()'
severity: medium
cvss: 5.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: metagpt
product: metagpt
ecosystem: pip
affected:
  - metagpt <= 0.8.2
published: '2026-06-02'
updated: '2026-07-09'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-3c3g-7hwg-9qmr'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-10566'
  - url: 'https://github.com/FoundationAgents/MetaGPT/issues/2038'
  - url: 'https://github.com/FoundationAgents/MetaGPT'
  - url: 'https://vuldb.com/cve/CVE-2026-10566'
  - url: 'https://vuldb.com/submit/828301'
  - url: 'https://vuldb.com/vuln/367673'
  - url: 'https://vuldb.com/vuln/367673/cti'
tags:
  - osv
  - pip
epss: 0.00122
epssPercentile: 0.01716
ingestedAt: '2026-07-09T18:56:35.159Z'
---

## Overview

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.

## Affected packages

- `metagpt <= 0.8.2`

## Remediation

Refer to the advisory for the patched release.
