p PatchFirst

CVE-2026-5972

CVE-2026-5972 · FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection

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

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 6.9 · Medium · EPSS 2.6% · Fix available

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.2

    Update to 0.8.2

Original sources

Check your server →