PT-2026-31679 · Foundation Agents · Metagpt

·

CVE-2026-5971

·

Published

2026-04-09

·

Updated

2026-07-13

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions FoundationAgents MetaGPT versions prior to 0.8.2
Description A flaw in the XML Handler component allows remote attackers to cause improper neutralization of directives in dynamically evaluated code. This issue occurs within the ActionNode.xml fill() function located in the metagpt/actions/action node.py file.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability. As a temporary workaround, consider restricting the use of the ActionNode.xml fill() function.

Exploit

Eval Injection

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-5971
GHSA-3GHP-8R47-4GJ4
PYSEC-2026-2638

Affected Products

Metagpt