ADVISORIES

GitHub Advisory Database

GHSA-qw5f-qpq5-ppfg

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

Moderate No fix available CVE-2026-5973PYSEC-2026-2641

Details

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

EcosystemPackageAffected versions
PyPImetagpt
All versions up to and including 0.8.1

References