6.9medium
FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection
- Severity
- 6.9medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.43% (higher than 38% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-xr7v-m9px-q4qjPYSEC-2026-2645
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
| Product or package | Versions | Reported by |
|---|---|---|
| FoundationAgents MetaGPT | 0.8.0, 0.8.1 | CVE List |
| metagpt (PyPI) | up to 0.8.2 | GitHub Advisory Database, PyPA Advisory Database |
| deepwisdom metagpt | 0.8.0, 0.8.1 | NVD |
All scores
| VulDB | 6.9medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.3high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R |
| VulDB | 7.5high CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
| GitHub | 7.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PyPA Advisory Database | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Una vulnerabilidad fue identificada en FoundationAgents MetaGPT hasta 0.8.1. Esto afecta la función generate_thoughts del archivo metagpt/strategy/tot.py del componente Tree-of-Thought Solver. La manipulación conduce a inyección de código. Es posible iniciar el ataque remotamente. El exploit está disponible públicamente y podría ser utilizado. El proyecto fue informado del problema tempranamente a través de un informe de incidencias pero aún no ha respondido.
References
| https://vuldb.com/vuln/356970 | technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/vuln/356970/cti | permissions-required, signature, web | |
| https://vuldb.com/submit/791761 | exploit, third-party-advisory, vdb-entry, web | |
| https://github.com/FoundationAgents/MetaGPT/issues/1933 | exploit, issue-tracking, web | |
| https://github.com/FoundationAgents/MetaGPT/pull/1946 | issue-tracking, patch, web | |
| https://github.com/FoundationAgents/MetaGPT/ | product | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-6110 | advisory | |
| https://github.com/FoundationAgents/MetaGPT | package | |
| https://pypi.org/project/metagpt | package | |
| https://github.com/advisories/GHSA-xr7v-m9px-q4qj | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-6110 changed 2026-04-13 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xr7v-m9px-q4qj changed 2026-07-13 | CC-BY-4.0 |
| NVD | CVE-2026-6110 changed 2026-10-26 | Public domain |
| PyPA Advisory Database | PYSEC-2026-2645 changed 2026-07-13 | CC-BY-4.0 |