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-5974: OS Command Injection in FoundationAgents MetaGPT

0
Medium
VulnerabilityCVE-2026-5974cvecve-2026-5974
Published: Thu Apr 09 2026 (04/09/2026, 19:30:15 UTC)
Source: CVE Database V5
Vendor/Project: FoundationAgents
Product: MetaGPT

Description

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The affected element is the function Bash.run in the library metagpt/tools/libs/terminal.py. This manipulation causes os command injection. The attack is possible to be carried out remotely. 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, 20:21:17 UTC

Technical Analysis

FoundationAgents MetaGPT versions 0.8.0 and 0.8.1 contain an OS command injection vulnerability in the Bash.run function of the metagpt/tools/libs/terminal.py library. This flaw allows remote attackers to inject and execute arbitrary OS commands due to insufficient input validation or sanitization in the command execution logic. The vulnerability was responsibly disclosed early, but no patch or official remediation has been released as of the publication date.

Potential Impact

Successful exploitation of this vulnerability could allow an unauthenticated remote attacker to execute arbitrary operating system commands on the affected system with the privileges of the MetaGPT process. This could lead to unauthorized system access, data compromise, or further system manipulation. However, no known exploits in the wild have been reported to date.

Mitigation Recommendations

As of the current information, no official patch or remediation is available from the vendor. Users should monitor the FoundationAgents MetaGPT project for updates or security advisories. Until a fix is released, avoid exposing vulnerable versions to untrusted networks or inputs that could trigger command injection. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.

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:47.323Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d806d21cc7ad14da15a57d

Added to database: 4/9/2026, 8:06:42 PM

Last enriched: 4/9/2026, 8:21:17 PM

Last updated: 4/9/2026, 10:32:05 PM

Views: 5

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