RCE in Deepwisdom Metagpt
CVE-2026-5972
A vulnerability has been found in FoundationAgents MetaGPT up to 0.8.1. This issue affects the function Terminal.run_command in the library metagpt/tools/libs/terminal.py. The manipulation leads to os command injection. Remote exploitation of the attack is possible. The exploit has been disclosed to the public and may be used. The identifier of the patch is d04ffc8dc67903e8b327f78ec121df5e190ffc7b. Applying a patch is the recommended action to fix this issue.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L.
EPSS exploit prediction
EPSS: 0.026 (85.1th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 85th percentile — 85.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.035 · newest: 0.026 · change: -0.009
Affected products
- Deepwisdom Metagpt
- Foundationagents Metagpt — versions 0.8.0, 0.8.1
Weakness classification (CWE)
References
- vuldb.com/vuln/356526 (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/vuln/356526/cti (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/submit/791745 (Exploit, VDB Entry, Third Party Advisory, third-party-advisory)
- github.com/FoundationAgents/MetaGPT/issues/1929 (issue-tracking, Exploit, exploit, Issue Tracking)
- github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b (Patch, patch)
- github.com/FoundationAgents/MetaGPT/ (Product, product)
Frequently asked questions
- What is CVE-2026-5972?
- CVE-2026-5972 is a high-severity vulnerability in Deepwisdom Metagpt, classified under Command Injection. CVSS score: 7.3/10. Published 2026-04-09.
- How severe is CVE-2026-5972?
- High severity. CVSS v3 base score is 7.3 out of 10.