Paper/Archive/CVE-2026-5974

CVE-2026-5974

FoundationAgents MetaGPT — FoundationAgents MetaGPT terminal.py Bash.run os command injection

Description · from the CVE record

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

ProductAffectedFixed inSource
MetaGPT0.8.0–CNA
MetaGPT0.8.1–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulDB (CNA)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
VulDB (CNA)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
VulDB (CNA)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
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: partial

References

writeupvuldb.com/vuln/356528refvuldb.com/vuln/356528/ctiwriteupvuldb.com/submit/791758refgithub.com/FoundationAgents/MetaGPT/issues/1931patchgithub.com/FoundationAgents/MetaGPT/pull/1940refgithub.com/FoundationAgents/MetaGPT