CVE-2026-5974

medium

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.

References

https://vuldb.com/vuln/356528/cti

https://vuldb.com/vuln/356528

https://vuldb.com/submit/791758

https://github.com/FoundationAgents/MetaGPT/pull/1940

https://github.com/FoundationAgents/MetaGPT/issues/1931

https://github.com/FoundationAgents/MetaGPT/

Details

Source: Mitre, NVD

Published: 2026-04-09

Updated: 2026-04-29

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

CVSS v4

Base Score: 6.9

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

Severity: Medium

EPSS

EPSS: 0.00837