PT-2026-26888 · Metagpt · Metagpt

·

CVE-2026-4515

·

Published

2026-03-21

·

Updated

2026-03-22

CVSS v2.0

6.5

Medium

VectorAV:N/AC:L/Au:S/C:P/I:P/A:P
Name of the Vulnerable Software and Affected Versions Foundation Agents MetaGPT versions up to 0.8.1
Description A code injection issue exists in the code generate function within the metagpt/ext/aflow/scripts/operator.py file. This allows for remote initiation of attacks. The exploit details have been publicly disclosed. The vendor was notified but did not respond.
Recommendations Versions prior to 0.8.1 should be used. As a temporary workaround, consider restricting access to the metagpt/ext/aflow/scripts/operator.py file to minimize the risk of exploitation.

Exploit

Fix

Special Elements Injection

Code Injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-4515

Affected Products

Metagpt