{"id":"CVE-2026-5971","aliases":["CVE-2026-5971","GHSA-3ghp-8r47-4gj4","PYSEC-2026-2638"],"related":[],"kind":"vulnerability","state":"published","title":"FoundationAgents MetaGPT XML action_node.py ActionNode.xml_fill eval injection","summary":"A flaw has been found in FoundationAgents MetaGPT up to 0.8.1. This vulnerability affects the function ActionNode.xml_fill of the file metagpt/actions/action_node.py of the component XML Handler. Executing a manipulation can lead to improper neutralization of directives in dynamically evaluated code. The attack may be launched remotely. The exploit has been published and may be used. The project was informed of the problem early through a pull request but has not reacted yet.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A flaw has been found in FoundationAgents MetaGPT up to 0.8.1. This vulnerability affects the function ActionNode.xml_fill of the file metagpt/actions/action_node.py of the component XML Handler. Executing a manipulation can lead to improper neutralization of directives in dynamically evaluated code. The attack may be launched remotely. The exploit has been published and may be used. The project was informed of the problem early through a pull request but has not reacted yet.","source":"cvelist"},{"lang":"es","text":"Se ha encontrado una falla en FoundationAgents MetaGPT hasta la versión 0.8.1. Esta vulnerabilidad afecta a la función ActionNode.xml_fill del archivo metagpt/actions/action_node.py del componente Gestor XML. La ejecución de una manipulación puede llevar a una neutralización inadecuada de directivas en código evaluado dinámicamente. El ataque puede lanzarse de forma remota. El exploit ha sido publicado y puede ser utilizado. Se informó al proyecto del problema con antelación a través de una solicitud de extracción, pero aún no ha reaccionado.","source":"nvd"}],"published":"2026-04-09T18:00:19.828Z","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-94","CWE-95"],"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.1"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.8.1"}],"vendor":"deepwisdom","product":"metagpt","cpe":"cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"0.8.1"}],"ecosystem":"PyPI","package":"metagpt","purl":"pkg:pypi/metagpt","source":"pysec"}],"references":[{"url":"https://vuldb.com/vuln/356525","tags":["technical-description","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/vuln/356525/cti","tags":["permissions-required","signature","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://vuldb.com/submit/791734","tags":["exploit","third-party-advisory","vdb-entry","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/issues/1928","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/FoundationAgents/MetaGPT/issues/1956","tags":["issue-tracking","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-5971","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-3ghp-8r47-4gj4","tags":["advisory"],"sources":["pysec"]}],"credits":["Eric-c (VulDB User)","VulDB CNA Team"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-13T20:14:01.423Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-5971","url":"https://www.cve.org/CVERecord?id=CVE-2026-5971","licence":"CVE Terms of Use","modified":"2026-04-13T20:14:17.735Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-3ghp-8r47-4gj4","url":"https://github.com/advisories/GHSA-3ghp-8r47-4gj4","licence":"CC-BY-4.0","modified":"2026-07-13T16:42:40.651Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-5971","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5971","licence":"Public domain","modified":"2026-10-26T21:10:00.170Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2638","url":"https://osv.dev/vulnerability/PYSEC-2026-2638","licence":"CC-BY-4.0","modified":"2026-07-13T16:32:14.880Z"}],"updatedAt":"2026-11-25T22:59:18.400Z","epss":{"score":0.00411,"percentile":0.37492,"date":"2026-12-01T12:00:22.000Z"}}