CVE-2026-4515 PUBLISHED

Foundation Agents MetaGPT operator.py code_generate code injection

Assigner: VulDB
Reserved: 20.03.2026 Published: 21.03.2026 Updated: 21.03.2026

A vulnerability has been found in Foundation Agents MetaGPT up to 0.8.1. This affects the function code_generate of the file metagpt/ext/aflow/scripts/operator.py. The manipulation leads to code injection. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
CVSS Score: 5.3

Product Status

Vendor Foundation Agents
Product MetaGPT
Versions
  • Version 0.8.0 is affected
  • Version 0.8.1 is affected

Credits

  • Goku (VulDB User) reporter
  • VulDB coordinator

References

Problem Types

  • Code Injection CWE
  • Injection CWE