ADVISORIES

PyPA Advisory Database

PYSEC-2026-2638

FoundationAgents MetaGPT vulnerable to eval injection

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