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 trend (30 days)EPSS over the last 30 days for CVE-2026-5972: fell from 0.035 to 0.026.

EPSS over last 30 days · oldest: 0.035 · newest: 0.026 · change: -0.009

Affected products

Weakness classification (CWE)

References

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.