CVE-2026-6110
MetaGPT has an eval injection in metagpt/strategy/tot.py
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium).
Description
A vulnerability was identified in FoundationAgents MetaGPT up to 0.8.1. 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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| pip::GitHub Security Advisory pip | metagpt | no fix listed |
References
- https://github.com/FoundationAgents/MetaGPT
- https://github.com/FoundationAgents/MetaGPT/
- https://github.com/FoundationAgents/MetaGPT/issues/1933
- https://github.com/FoundationAgents/MetaGPT/pull/1946
- https://nvd.nist.gov/vuln/detail/CVE-2026-6110
- https://vuldb.com/submit/791761
- https://vuldb.com/vuln/356970
- https://vuldb.com/vuln/356970/cti