CVE-2026-4515

published 21 Mar 2026 · updated 24 Mar 2026

Foundation Agents MetaGPT operator.py code_generate code injection

7.3HighCVSS 6.3EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Foundation Agents=0.8.0, =0.8.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-4515 severity on Zeptric[![CVE-2026-4515](https://zeptric.io/badge/cve/CVE-2026-4515.svg)](https://zeptric.io/cve/CVE-2026-4515)