CVE-2026-5974
published medium CVSS 4.0 · 6.9FoundationAgents MetaGPT terminal.py Bash.run os command injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| FoundationAgents | — | MetaGPT0.8.0 · 0.8.1 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.3 | high | VulDB · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R | — |
| 3.0 | 7.3 | high | VulDB · cna | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R | — |
| 2.0 | 7.5 | high | VulDB · cna | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:ND/RC:UR | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| FoundationAgents | MetaGPT | 0.8.0 (affected)0.8.1 (affected) | VulDB · cna |
Weaknesses
2- CWE-78 OS Command Injection
- CWE-77 Command Injection
References
6- https://github.com/FoundationAgents/MetaGPT/
- https://github.com/FoundationAgents/MetaGPT/issues/1931
- https://github.com/FoundationAgents/MetaGPT/pull/1940
- Submit #791758 | FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78) https://vuldb.com/submit/791758
- VDB-356528 | FoundationAgents MetaGPT terminal.py Bash.run os command injection https://vuldb.com/vuln/356528
- VDB-356528 | CTI Indicators (IOB, IOC, TTP, IOA) https://vuldb.com/vuln/356528/cti
Provider assertions
2VulDB · cna
FoundationAgents MetaGPT terminal.py Bash.run os command injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- abe0bb5f248fee3e0d5b058f5b478855048205296ddc245d481e7688fef16a5e
- Ingested
- 23 Sep 2026, 09:23:35 UTC
- Source record
- Official CVE record