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)

EPSS: 0.026 (84.3th percentile) — read the EPSS interpretation.

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.

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.