CVE-2026-10566: FoundationAgents MetaGPT: Deserialization through flawed argument mapping via Message.check_instruct_content()
A weakness has been identified in FoundationAgents MetaGPT up to 0.8.2. This affects the function Message.checkinstructcontent 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.
Published Jun 2, 2026 · Updated Jul 9, 2026
Affected packages
metagpt
- Ecosystem
- PyPI
- Affected
- <= 0.8.2
- Fixed in
- No patched version yet
- Check
pip show metagpt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-10566
- https://github.com/FoundationAgents/MetaGPT/issues/2038
- https://github.com/FoundationAgents/MetaGPT
- https://vuldb.com/cve/CVE-2026-10566
- https://vuldb.com/submit/828301
- https://vuldb.com/vuln/367673
- https://vuldb.com/vuln/367673/cti
- https://github.com/advisories/GHSA-3c3g-7hwg-9qmr
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-6109
MetaGPT has an eval injection via a cross-site request forgery attack
low4.3No fixApr 12, 2026CVE-2026-6110
MetaGPT has an eval injection in metagpt/strategy/tot.py
medium7.3No fixApr 12, 2026CVE-2026-6111
MetaGPT affected by server-side request forgery in metagpt/utils/common.py
low6.3No fixApr 12, 2026CVE-2026-5970
MetaGPT has an Injection issue
medium7.3No fixApr 9, 2026CVE-2026-5971
FoundationAgents MetaGPT vulnerable to eval injection
medium7.3No fixApr 9, 2026CVE-2026-5972
FoundationAgents MetaGPT vulnerable to os command injection via the Terminal.run_command
medium7.3Apr 9, 2026
