ADVISORIES

Vulnerability

CVE-2026-5973

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.

2 advisories report this vulnerability, across 1 ecosystem.

Medium severity PyPI 2

Advisories in PyPI

  • GHSA-qw5f-qpq5-ppfg

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

    Moderate CVE-2026-5973 PyPI Updated 13 July 2026
  • PYSEC-2026-2641

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

    CVE-2026-5973 PyPI Updated 13 July 2026

References