CVE-2026-5974FoundationAgents MetaGPT terminal.py Bash.run os command injection
Updated under an hour ago ()
Does this affect you?
It affects FoundationAgents MetaGPT and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.3 HIGH (v3.1, 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
- Weakness (CWE)
- CWE-78, CWE-77
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- VulDB
- NVD analysis
- Analyzed
- Record last updated
- Apr 9, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
FoundationAgents MetaGPT foundationagents:metagpt (from the name) | 0.8.0; 0.8.1 | CNA record |
deepwisdom metagpt deepwisdom:metagpt | through 0.8.1 | NVD |
References
- https://vuldb.com/vuln/356528vdb-entry, technical-description, third-party-advisory
- https://vuldb.com/vuln/356528/ctisignature, permissions-required
- https://vuldb.com/submit/791758third-party-advisory, exploit, vdb-entry
- https://github.com/FoundationAgents/MetaGPT/issues/1931issue-tracking, exploit
- https://github.com/FoundationAgents/MetaGPT/pull/1940issue-tracking, patch
- https://github.com/FoundationAgents/MetaGPT/product
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.