{"id":"CVE-2026-6110","aliases":["CVE-2026-6110","GHSA-xr7v-m9px-q4qj","PYSEC-2026-2645"],"related":[],"kind":"vulnerability","state":"published","title":"FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-04-12T02:00:21.626Z","modified":"2026-10-26T21:10:00.170Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"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","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"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","score":7.3,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P/E:POC/RL:ND/RC:UR","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","score":7.3,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"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"}],"cwes":["CWE-74","CWE-94"],"affected":[{"ranges":[{"version":"0.8.0","status":"affected"},{"version":"0.8.1","status":"affected"}],"vendor":"FoundationAgents","product":"MetaGPT","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.2"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"ghsa"},{"ranges":[{"status":"affected","version":"0.8.0"},{"status":"affected","version":"0.8.1"}],"vendor":"deepwisdom","product":"metagpt","cpe":"cpe:2.3:a:deepwisdom:metagpt:0.8.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.2"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/356970","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/356970/cti","tags":["permissions-required","signature","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/791761","tags":["exploit","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/issues/1933","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/pull/1946","tags":["issue-tracking","patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6110","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/metagpt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-xr7v-m9px-q4qj","tags":["advisory"],"sources":["pysec"]}],"credits":["Eric-d (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-13T17:48:29.606Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6110","url":"https://www.cve.org/CVERecord?id=CVE-2026-6110","licence":"CVE Terms of Use","modified":"2026-04-13T17:48:44.488Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xr7v-m9px-q4qj","url":"https://github.com/advisories/GHSA-xr7v-m9px-q4qj","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:42.341Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6110","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6110","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2645","url":"https://osv.dev/vulnerability/PYSEC-2026-2645","licence":"CC-BY-4.0","modified":"2026-07-13T16:31:50.890Z"}],"updatedAt":"2026-11-25T22:59:18.570Z","epss":{"score":0.00425,"percentile":0.38724,"date":"2026-12-01T12:00:22.000Z"}}