NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-6110: MetaGPT has an eval injection in metagpt/strategy/tot.py

mediumCVSS 4.0 5.5 · 3.1 7.3GHSA-xr7v-m9px-q4qj

A vulnerability was identified in FoundationAgents MetaGPT up to 0.8.2. This affects the function generatethoughts of the file metagpt/strategy/tot.py of the component Tree-of-Thought Solver. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used.

Published Apr 12, 2026 · Updated Apr 14, 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 vulnerability was identified in FoundationAgents MetaGPT up to 0.8.2. This affects the function generate_thoughts of the file metagpt/strategy/tot.py of the component Tree-of-Thought Solver. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

References

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 entries