CVE-2026-5974: FoundationAgents MetaGPT terminal.py Bash.run os command injection

Published Apr 9, 2026
·
Updated

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.

Affected Software

2 affected components
pip/metagpt<=0.8.1
Deepwisdom Metagpt<=0.8.1

Event History

Apr 9, 2026
CVE Published
via MITRE·07:30 PM
Data Sourced
via MITRE·07:30 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:16 PM
RemedyAffected Software
Advisory Published
via GitHub·09:31 PM
Data Sourced
via GitHub·09:31 PM
DescriptionSeverityWeaknessAffected Software
Jul 20, 58298
Event
via FIRST·08:00 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-5974?

CVE-2026-5974 has a high severity rating due to its potential for os command injection vulnerabilities.

2

How do I fix CVE-2026-5974?

To fix CVE-2026-5974, update the FoundationAgents MetaGPT package to version 0.8.2 or later.

3

What versions are affected by CVE-2026-5974?

CVE-2026-5974 affects FoundationAgents MetaGPT versions up to and including 0.8.1.

4

What is the impact of CVE-2026-5974?

The impact of CVE-2026-5974 includes the possibility of unauthorized command execution on the host operating system.

5

Is CVE-2026-5974 remotely exploitable?

Yes, CVE-2026-5974 can be exploited remotely if an attacker can interact with the affected Bash.run function.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203