FoundationAgents MetaGPT up to 0.8.1 terminal.py Bash.run os command injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.1 | $0-$5k | 1.47- |
Summary
A vulnerability was found in FoundationAgents MetaGPT up to 0.8.1 and classified as critical. The impacted element is the function Bash.run in the library metagpt/tools/libs/terminal.py. Such manipulation leads to os command injection.
This vulnerability is listed as CVE-2026-5974. The attack may be performed from remote. There is no available exploit.
The project was informed of the problem early through a pull request but has not reacted yet.
Details
A vulnerability, which was classified as critical, has been found in FoundationAgents MetaGPT up to 0.8.1. Affected by this issue is the function Bash.run in the library metagpt/tools/libs/terminal.py. The manipulation with an unknown input leads to a os command injection vulnerability. Using CWE to declare the problem leads to CWE-78. The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability.
The advisory is shared for download at github.com. This vulnerability is handled as CVE-2026-5974. The exploitation is known to be easy. The attack may be launched remotely. No form of authentication is required for exploitation. There are known technical details, but no exploit is available. The current price for an exploit might be approx. USD $0-$5k (estimation calculated on 04/09/2026). The MITRE ATT&CK project declares the attack technique as T1202.
The project was informed of the problem early through a pull request but has not reacted yet.
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
VulDB is the best source for vulnerability data and more expert information about this specific topic.
Product
Vendor
Name
Version
Website
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.1
VulDB Base Score: 7.3
VulDB Temp Score: 7.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Os command injectionCWE: CWE-78 / CWE-77 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔒
Timeline
04/09/2026 Advisory disclosed04/09/2026 VulDB entry created
04/09/2026 VulDB entry last update
Sources
Product: github.comAdvisory: 1931
Status: Not defined
Confirmation: 🔒
CVE: CVE-2026-5974 (🔒)
GCVE (CVE): GCVE-0-2026-5974
GCVE (VulDB): GCVE-100-356528
Entry
Created: 04/09/2026 14:09Changes: 04/09/2026 14:09 (55)
Complete: 🔍
Submitter: Eric-d
Cache ID: 216:BB5:103
Submit
Accepted
- Submit #791758: FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78) (by Eric-d)
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.