All reports
Medium

FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.py

Affected versions

Version ranges need review.

Affected versions
<= 0.8.1
Fixed version
Not reported
Affected versions
<=0.8.1
Fixed version
Not reported

Exploitation

CVE-2026-5973

Probability of exploitation in the next 30 days: 2.61%

FIRST EPSS · 2026-11-21

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.

Links