CVE-2026-6110
FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection
- State
- Published
- Severity
- 6.9 Medium
- Published
- Apr 12, 2026
- Updated
- Apr 13, 2026
- Reserved
- Apr 11, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P | VulDB |
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 3.0 | 7.3 High | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R | VulDB |
| 2.0 | 7.5 High | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR | VulDB |
Weaknesses
Affected Products
| Product | Versions |
|---|---|
MetaGPTFoundationAgents |
|
References
- VDB-356970 | FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injectionvdb-entrytechnical-description
- VDB-356970 | CTI Indicators (IOB, IOC, TTP, IOA)signaturepermissions-required
- Submit #791761 | FoundationAgents MetaGPT 0.8.1 Code Injection (CWE-94)third-party-advisory
- https://github.com/FoundationAgents/MetaGPT/issues/1933exploitissue-tracking
- https://github.com/FoundationAgents/MetaGPT/pull/1946issue-trackingpatch
- https://github.com/FoundationAgents/MetaGPT/product
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.