Back to CVE records
High 7.3Published Apr 9, 2026

CVE-2026-5972FoundationAgents MetaGPT terminal.py Terminal.run_command 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.

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.

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:P/RL:O/RC:C
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 10, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

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

  • vdb-entry, technical-description, third-party-advisory
  • signature, permissions-required, vdb-entry
  • third-party-advisory, exploit, vdb-entry
  • exploit, issue-tracking
  • patch
  • product

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.