NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-5973: FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.py

mediumCVSS 4.0 5.5 · 3.1 7.3GHSA-qw5f-qpq5-ppfg

A vulnerability was found in FoundationAgents MetaGPT up to 0.8.1. Impacted is the function getmimetype 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.

Published Apr 9, 2026 · Updated Apr 10, 2026

Affected packages

metagpt

Ecosystem
PyPI
Affected
<= 0.8.1
Fixed in
No patched version yet
Check
pip show metagpt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries