foundationagents/metagpt · Security
FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.py
- GHSA ID
- GHSA-qw5f-qpq5-ppfg
- CVE ID
- CVE-2026-5973
- Severity
- medium
- Published
- Updated
- CVSS
- 7.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 7.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v4
- 5.5 · 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
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.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-5973 ↗
- https://github.com/FoundationAgents/MetaGPT/issues/1930 ↗
- https://github.com/FoundationAgents/MetaGPT/pull/1983 ↗
- https://github.com/FoundationAgents/MetaGPT ↗
- https://vuldb.com/submit/791755 ↗
- https://vuldb.com/vuln/356527 ↗
- https://vuldb.com/vuln/356527/cti ↗
- https://github.com/advisories/GHSA-qw5f-qpq5-ppfg ↗