Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-5973: OS Command Injection in FoundationAgents MetaGPT

0
Medium
VulnerabilityCVE-2026-5973cvecve-2026-5973
Published: Thu Apr 09 2026 (04/09/2026, 19:15:13 UTC)
Source: CVE Database V5
Vendor/Project: FoundationAgents
Product: 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

AILast updated: 04/09/2026, 19:51:00 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses