Advisory

PYSEC-2026-2645

Also known as: CVE-2026-6110, GHSA-xr7v-m9px-q4qj

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

High Basis: CVSS v3 score 7.3, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-13 15:02 UTC
Modified
2026-07-13 16:31 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: PyPA Advisory Database · CC BY 4.0

Sources & licences