CVE-2026-5973: OS Command Injection in FoundationAgents MetaGPT
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.
AI Analysis
Technical Summary
This vulnerability exists in FoundationAgents MetaGPT (<= 0.8.1) within the get_mime_type function of metagpt/utils/common.py. Improper input handling leads to OS command injection, enabling remote attackers to execute arbitrary commands on the affected system. The vulnerability was responsibly disclosed early to the project via a pull request, but no patch or official fix has been released as of the publication date. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, no privileges required, and no user interaction needed. The vulnerability state is published, but remediation level is unknown.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary operating system commands on affected installations of MetaGPT up to version 0.8.1. This could lead to unauthorized system control or data compromise depending on the privileges of the MetaGPT process. There are no confirmed exploitations in the wild, but public exploit code availability increases risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch has been released, users should consider applying manual mitigations such as disabling or restricting access to the vulnerable function if possible, or isolating affected instances until a vendor patch is available. Monitor vendor channels for updates and apply patches promptly once released.
CVE-2026-5973: OS Command Injection in FoundationAgents MetaGPT
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability exists in FoundationAgents MetaGPT (<= 0.8.1) within the get_mime_type function of metagpt/utils/common.py. Improper input handling leads to OS command injection, enabling remote attackers to execute arbitrary commands on the affected system. The vulnerability was responsibly disclosed early to the project via a pull request, but no patch or official fix has been released as of the publication date. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, no privileges required, and no user interaction needed. The vulnerability state is published, but remediation level is unknown.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary operating system commands on affected installations of MetaGPT up to version 0.8.1. This could lead to unauthorized system control or data compromise depending on the privileges of the MetaGPT process. There are no confirmed exploitations in the wild, but public exploit code availability increases risk.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch has been released, users should consider applying manual mitigations such as disabling or restricting access to the vulnerable function if possible, or isolating affected instances until a vendor patch is available. Monitor vendor channels for updates and apply patches promptly once released.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-09T12:04:32.811Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d7ff961cc7ad14da10ea47
Added to database: 4/9/2026, 7:35:50 PM
Last enriched: 4/9/2026, 7:51:00 PM
Last updated: 4/10/2026, 8:15:32 AM
Views: 11
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.