CVE-2026-5973
MEDIUM 5.5CVSS 4.0FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.py
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.
- Published
- 9 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- cna@vuldb.com
- NVD status
- Analyzed
- Weakness
- CWE-77
- Also known as
- GHSA-qw5f-qpq5-ppfgPYSEC-2026-2641
- Sources
- NVDJSONOSV GHSA-qw5f-qpq5-ppfgJSONOSV PYSEC-2026-2641JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cna@vuldb.com (Secondary) | CVSS 4.0 | MEDIUM 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | 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 | |
| OSV | PyPA | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | cna@vuldb.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | PyPA | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | cna@vuldb.com (Secondary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | deepwisdom | metagptcpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:* |
<= 0.8.1 | |
| OSV | PyPI | metagpt | <= 0.8.1 |
References
- https://github.com/FoundationAgents/MetaGPT/ · Product, PACKAGE
- https://github.com/FoundationAgents/MetaGPT/issues/1930 · Exploit, Issue Tracking, Mitigation, WEB
- https://github.com/FoundationAgents/MetaGPT/pull/1983 · Issue Tracking, Patch, WEB
- https://vuldb.com/submit/791755 · Exploit, Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/356527 · Third Party Advisory, VDB Entry, WEB
- https://vuldb.com/vuln/356527/cti · Permissions Required, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-5973 · ADVISORY
- https://pypi.org/project/metagpt · PACKAGE
- https://github.com/advisories/GHSA-qw5f-qpq5-ppfg · ADVISORY
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 9 Apr 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Apr 2026)