CVE-2026-5973CWE-77CWE-78

FoundationAgents MetaGPT common.py get_mime_type os command injection

Medium · published April 9, 2026

CVSS v4.0
6.9
EPSS
3%
Percentile
89.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
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
EPSS
0.03456 · 89.0th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-09T19:15Z
EPSS history
Timeline
  • 09 APR 19:15Z
    FoundationAgents MetaGPT common.py get_mime_type os command injection
    cvelistv5