CVE-2026-5974CWE-77CWE-78

FoundationAgents MetaGPT terminal.py Bash.run os command injection

Medium · published April 9, 2026

CVSS v4.0
6.9
EPSS
3%
Percentile
89.0
In the wild
Unconfirmed
What it is

A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.1. The affected element is the function Bash.run in the library metagpt/tools/libs/terminal.py. This manipulation causes os command injection. The attack is possible to be carried out remotely. The project was informed of the problem early through a pull request but has not reacted yet.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
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:X
EPSS
0.03456 · 89.0th percentile
Weaknesses
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection'); CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-04-09T19:30Z
EPSS history
Timeline
  • 09 APR 19:30Z
    FoundationAgents MetaGPT terminal.py Bash.run os command injection
    cvelistv5