Vulnerability · Published Apr 9, 2026 · Assigned by VulDB

CVE-2026-5973FoundationAgents MetaGPT common.py get_mime_type os command injection

High 7.3

In plain English

A high-severity OS command injection in MetaGPT from FoundationAgents. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 2.6% (higher than 85% of all known vulnerabilities).

Severity (CVSS 3.1)7.3High
Exploit odds (30 days)2.6%top 14.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPImetagptno fix listedGHSA-qw5f-qpq5-ppfg
PyPImetagptno fix listedPYSEC-2026-2641

Affected products (as reported)

VendorProductVersions
FoundationAgents MetaGPT 0.8.00.8.1

Weakness: CWE-78, CWE-77 · 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

References