Skip to content
OpenAdvisories
High · 7.3 CVE-2026-6110 EUVD-2026-21696GHSA-xr7v-m9px-q4qjPYSEC-2026-2645

FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection

Published Apr 12, 2026 · Updated Apr 13, 2026 · Assigned by VulDB

Description

A vulnerability was identified in FoundationAgents MetaGPT up to 0.8.1. 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.

Affected products

VendorProductAffectedFixed
FoundationAgents MetaGPT 0.8.0, 0.8.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI metagpt <= 0.8.2 — GHSA-xr7v-m9px-q4qj

References