Home

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.

PUBLISHED Reserved 2026-04-09 | Published 2026-04-09 | Updated 2026-04-09 | Assigner VulDB




MEDIUM: 6.9CVSS: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
HIGH: 7.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R
HIGH: 7.3CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:X/RL:X/RC:R
7.5AV:N/AC:L/Au:N/C:P/I:P/A:P/E:ND/RL:ND/RC:UR

Problem types

OS Command Injection

Command Injection

Product status

0.8.0
affected

0.8.1
affected

Timeline

2026-04-09:Advisory disclosed
2026-04-09:VulDB entry created
2026-04-09:VulDB entry last update

Credits

Eric-d (VulDB User) reporter

VulDB CNA Team coordinator

References

vuldb.com/vuln/356528 (VDB-356528 | FoundationAgents MetaGPT terminal.py Bash.run os command injection) vdb-entry technical-description

vuldb.com/vuln/356528/cti (VDB-356528 | CTI Indicators (IOB, IOC, TTP, IOA)) signature permissions-required

vuldb.com/submit/791758 (Submit #791758 | FoundationAgents MetaGPT 0.8.1 OS Command Injection (CWE-78)) third-party-advisory

github.com/FoundationAgents/MetaGPT/issues/1931 issue-tracking

github.com/FoundationAgents/MetaGPT/pull/1940 issue-tracking patch

github.com/FoundationAgents/MetaGPT/ product

cve.org (CVE-2026-5974)

nvd.nist.gov (CVE-2026-5974)

Download JSON