{"id":"CVE-2026-5973","published":"2026-04-09T19:15:13Z","modified":"2026-04-14T16:34:08Z","title":"FoundationAgents MetaGPT common.py get_mime_type os command injection","vendor":"FoundationAgents","product":"MetaGPT","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02608,"percentile":0.85768,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://vuldb.com/vuln/356527","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/356527/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/791755","tags":["third-party-advisory"]},{"url":"https://github.com/FoundationAgents/MetaGPT/issues/1930","tags":["exploit","issue-tracking"]},{"url":"https://github.com/FoundationAgents/MetaGPT/pull/1983","tags":["issue-tracking","patch"]},{"url":"https://github.com/FoundationAgents/MetaGPT/","tags":["product"]}],"priority":{"score":27.3,"factors":[{"name":"EPSS percentile","points":17.15},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"foundationagents","affectedVersions":[{"vendor":"FoundationAgents","product":"MetaGPT","versions":["0.8.0","0.8.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-04-14T15:15:40.606499Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"metagpt","vulnerableRanges":["<=0.8.1"],"patched":[],"from":["GHSA-qw5f-qpq5-ppfg","PYSEC-2026-2641"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-21051","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/FoundationAgents/MetaGPT/issues/1930"]}