ADVISORIES

GitHub Advisory Database

GHSA-3ghp-8r47-4gj4

FoundationAgents MetaGPT vulnerable to eval injection

Moderate No fix available CVE-2026-5971PYSEC-2026-2638

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPImetagpt
All versions up to and including 0.8.1

References