Advisory

GHSA-xr7v-m9px-q4qj

Also known as: CVE-2026-6110, PYSEC-2026-2645

Summary

MetaGPT has an eval injection in metagpt/strategy/tot.py

Details

A vulnerability was identified in FoundationAgents MetaGPT up to 0.8.2. This affects the function generate_thoughts of the file metagpt/strategy/tot.py of the component Tree-of-Thought Solver. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-12 03:30 UTC
Modified
2026-07-13 16:43 UTC

Affected packages and fixes

metagpt

PyPI · All systems

Affected

  • introduced 0, last affected 0.8.2 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences