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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| FoundationAgents | MetaGPT | 0.8.0, 0.8.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | metagpt | <= 0.8.1 | — | GHSA-qw5f-qpq5-ppfg |
References
- VDB-356527 | FoundationAgents MetaGPT common.py get_mime_type os command injection vdb-entry technical-description
- VDB-356527 | CTI Indicators (IOB, IOC, TTP, IOA) signature permissions-required
- Submit #791755 | FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78) third-party-advisory
- https://github.com/FoundationAgents/MetaGPT/issues/1930 exploit issue-tracking
- https://github.com/FoundationAgents/MetaGPT/pull/1983 issue-tracking patch
- https://github.com/FoundationAgents/MetaGPT/ product