Description
A vulnerability was found in FoundationAgents MetaGPT up to 0.8.1. Impacted is the function get_mime_type of the file metagpt/utils/common.py. The manipulation results in os command injection. The attack can be executed remotely. The exploit has been made public and could be used. The project was informed of the problem early through a pull request but has not reacted yet.
Problem types
Product status
0.8.1
Timeline
| 2026-04-09: | Advisory disclosed |
| 2026-04-09: | VulDB entry created |
| 2026-04-09: | VulDB entry last update |
Credits
Eric-d (VulDB User)
VulDB CNA Team
References
vuldb.com/vuln/356527 (VDB-356527 | FoundationAgents MetaGPT common.py get_mime_type os command injection)
vuldb.com/vuln/356527/cti (VDB-356527 | CTI Indicators (IOB, IOC, TTP, IOA))
vuldb.com/submit/791755 (Submit #791755 | FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78))
github.com/FoundationAgents/MetaGPT/issues/1930
github.com/FoundationAgents/MetaGPT/pull/1983
github.com/FoundationAgents/MetaGPT/