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.
Problem types
Product status
0.8.1
Timeline
| 2026-04-11: | Advisory disclosed |
| 2026-04-11: | VulDB entry created |
| 2026-04-11: | VulDB entry last update |
Credits
Eric-d (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/356970 (VDB-356970 | FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection)
vuldb.com/vuln/356970/cti (VDB-356970 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/791761 (Submit #791761 | FoundationAgents MetaGPT 0.8.1 Code Injection (CWE-94))
github.com/FoundationAgents/MetaGPT/issues/1933
github.com/FoundationAgents/MetaGPT/pull/1946
github.com/FoundationAgents/MetaGPT/