CVE-2026-5974
A vulnerability was determined in FoundationAgents MetaGPT up to …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/FoundationAgents/MetaGPT/
- github.com/FoundationAgents/MetaGPT/issues/1931
- github.com/FoundationAgents/MetaGPT/pull/1940
- vuldb.com/submit/791758
- vuldb.com/vuln/356528
- vuldb.com/vuln/356528/cti
- nvd.nist.gov/vuln/detail/CVE-2026-5974
- github.com/FoundationAgents/MetaGPT
- nvd.nist.gov/vuln/detail/CVE-2026-5974
- cve.org/CVERecord?id=CVE-2026-5974
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.