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 in FoundationAgents MetaGPT (<= 0.8.1) involves OS command injection in the get_mime_type function located in metagpt/utils/common.py. Remote attackers can manipulate input to this function to execute arbitrary operating system commands. The vulnerability was responsibly disclosed early through a pull request, but the vendor has not provided a fix or official response. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, no privileges required, and no user interaction needed. No patch or official remediation guidance is currently available.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary OS commands on the affected system, potentially leading to unauthorized system control or data compromise. The vulnerability does not require privileges or user interaction, increasing its risk. However, the impact is rated medium due to limited scope and lack of confirmed exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch is available and the vendor has not reacted, users should monitor the vendor's channels for updates. Until a patch is released, consider restricting network access to the vulnerable service and applying any available application-level input validation or sandboxing as temporary mitigations.
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 in FoundationAgents MetaGPT (<= 0.8.1) involves OS command injection in the get_mime_type function located in metagpt/utils/common.py. Remote attackers can manipulate input to this function to execute arbitrary operating system commands. The vulnerability was responsibly disclosed early through a pull request, but the vendor has not provided a fix or official response. The CVSS 4.0 base score is 6.9, indicating medium severity with network attack vector, no privileges required, and no user interaction needed. No patch or official remediation guidance is currently available.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary OS commands on the affected system, potentially leading to unauthorized system control or data compromise. The vulnerability does not require privileges or user interaction, increasing its risk. However, the impact is rated medium due to limited scope and lack of confirmed exploitation in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch is available and the vendor has not reacted, users should monitor the vendor's channels for updates. Until a patch is released, consider restricting network access to the vulnerable service and applying any available application-level input validation or sandboxing as temporary mitigations.
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/17/2026, 11:41:32 AM
Last updated: 5/25/2026, 12:20:57 PM
Views: 75
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.