{"id":"CVE-2026-5973","aliases":["CVE-2026-5973","GHSA-qw5f-qpq5-ppfg","PYSEC-2026-2641"],"related":[],"kind":"vulnerability","state":"published","title":"FoundationAgents MetaGPT common.py get_mime_type os command injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en FoundationAgents MetaGPT hasta 0.8.1. La función afectada es get_mime_type del archivo metagpt/utils/common.py. La manipulación resulta en inyección de comandos del sistema operativo. El ataque puede ejecutarse de forma remota. El exploit se ha hecho público y podría usarse. Se informó al proyecto del problema con antelación a través de una pull request, pero aún no ha reaccionado.","source":"nvd"}],"published":"2026-04-09T19:15:13.464Z","modified":"2026-10-26T00:10:00.150Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS: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","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-77","CWE-78"],"affected":[{"ranges":[{"version":"0.8.0","status":"affected"},{"version":"0.8.1","status":"affected"}],"vendor":"FoundationAgents","product":"MetaGPT","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.8.1"}],"vendor":"deepwisdom","product":"metagpt","cpe":"cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/356527","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/356527/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/791755","tags":["exploit","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/issues/1930","tags":["exploit","issue-tracking","mitigation","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/pull/1983","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5973","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/metagpt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-qw5f-qpq5-ppfg","tags":["advisory"],"sources":["pysec"]}],"credits":["Eric-d (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-14T15:15:40.606Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5973","url":"https://www.cve.org/CVERecord?id=CVE-2026-5973","licence":"CVE Terms of Use","modified":"2026-04-14T16:34:08.668Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-qw5f-qpq5-ppfg","url":"https://github.com/advisories/GHSA-qw5f-qpq5-ppfg","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:13.764Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5973","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5973","licence":"Public domain","modified":"2026-10-26T00:10:00.150Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2641","url":"https://osv.dev/vulnerability/PYSEC-2026-2641","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:49.879Z"}],"updatedAt":"2026-11-25T22:59:18.421Z","epss":{"score":0.02665,"percentile":0.86165,"date":"2026-12-02T12:00:21.000Z"}}