All reports
Medium

FoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/tools/libs/terminal.py

Affected versions

Version ranges need review.

Affected versions
<= 0.8.1
Fixed version
Not reported
Affected versions
<=0.8.1
Fixed version
Not reported

Exploitation

CVE-2026-5974

Probability of exploitation in the next 30 days: 2.56%

FIRST EPSS · 2026-11-21

Description

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.

Links