PT-2026-31722 · Unknown · Foundation Agents Metagpt

Eric-D

·

Published

2026-04-09

·

Updated

2026-04-19

·

CVE-2026-5974

CVSS v3.1

9.8

Critical

VectorAV: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 FoundationAgents MetaGPT up to version 0.8.1 due to an os command injection issue within the Bash.run function located in the metagpt/tools/libs/terminal.py library. This issue is remotely exploitable.
Recommendations Update FoundationAgents MetaGPT to a version later than 0.8.1.

Exploit

Fix

Command Injection

OS Command Injection

Weakness Enumeration

Related Identifiers

CVE-2026-5974
GHSA-FCC8-4Q7H-WVWC

Affected Products

Foundation Agents Metagpt