Foundation Agents · Metagpt · CVE-2026-5971
**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.