Advisory

GHSA-3ghp-8r47-4gj4

Also known as: CVE-2026-5971, PYSEC-2026-2638

Summary

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-09 18:31 UTC
Modified
2026-07-13 16:42 UTC

Affected packages and fixes

metagpt

PyPI · All systems

Affected

  • introduced 0, last affected 0.8.1 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences