p PatchFirst

CVE-2026-5974

CVE-2026-5974 · FoundationAgents MetaGPT terminal.py Bash.run os command injection

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 6.9 · Medium · EPSS 2.5%

Published
Updated

Stack: python

Affected products and versions

  • metagpt

    Versions
    • 0.8.0: Affected
    • 0.8.1: Affected

    No fix published

  • metagpt PyPI

    Versions
    • 0.1
    • 0.3.0
    • 0.4.0
    • 0.5.0
    • 0.5.1
    • 0.5.2
    • 0.6.0
    • 0.6.1
    • 0.6.10
    • 0.6.11
    • 0.6.12
    • 0.6.13
    • 0.6.2
    • 0.6.3
    • 0.6.4
    • 0.6.5
    • 0.6.6
    • 0.6.7
    • 0.6.8
    • 0.6.9
    • 0.7.0
    • 0.7.1
    • 0.7.2
    • 0.7.3
    • 0.7.4
    • 0.7.6
    • 0.7.7
    • 0.8.0
    • 0.8.1
    Affected ranges
    • ECOSYSTEM: ≤ 0.8.1

    No fix published

Original sources

Check your server →