CVE-2026-5972

MEDIUM EPSS 81.4%
Published Apr 9, 20262mo ago · Modified Jun 17, 20261w ago
5.5 CVSS 4.0
Medium
Find Similar
Published Apr 9, 2026 2mo ago
Last Modified Jun 17, 2026 1w ago

Description

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 Details

Base Score
5.5
Exploitability
Impact
Vector string
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
81.4% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 2

CWE-77 Command Injection Injection
CWE-78 OS Command Injection Injection

Affected Products 1

VendorProductVersionRange
deepwisdommetagpt* ≤0.8.1

References 6

  • github.com https://github.com/FoundationAgents/MetaGPT/
    Product
  • github.com https://github.com/FoundationAgents/MetaGPT/issues/1929
    ExploitIssue Tracking
  • github.com https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b
    Patch
  • vuldb.com https://vuldb.com/submit/791745
    ExploitThird Party AdvisoryVDB Entry
  • vuldb.com https://vuldb.com/vuln/356526
    Third Party AdvisoryVDB Entry
  • vuldb.com https://vuldb.com/vuln/356526/cti
    Permissions RequiredVDB Entry

Remediation

  • github.com https://github.com/paipeline/MetaGPT/commit/d04ffc8dc67903e8b327f78ec121df5e190ffc7b
    Patch