VDB
Sign up
HIGH7.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/metagpt
Introduced in: 0

No fixed version published yet for metagpt (pip). Pin to a known-safe version or switch to an alternative.

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/metagpt"]}'