CVE-2026-5973: FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.py
(updated )
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
Code Behaviors & Features
Detect and mitigate CVE-2026-5973 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →