PT-2026-31707 · Foundation Agents · Metagpt
Eric-C
·
Published
2026-04-09
·
Updated
2026-04-19
·
CVE-2026-5972
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
FoundationAgents MetaGPT versions up to 0.8.1
Description
A flaw exists in the Terminal.run command function within the metagpt/tools/libs/terminal.py library. This allows for os command injection, potentially enabling remote exploitation. The exploit has been publicly disclosed.
Recommendations
Apply the patch d04ffc8dc67903e8b327f78ec121df5e190ffc7b.
Exploit
Fix
Command Injection
OS Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Metagpt