Read the docs
TI-2026-03924 Aliases CVE-2026-4515GHSA-6qq6-2j27-fq65

Foundation Agents MetaGPT operator.py code_generate code injection

Priority MEDIUM 57CWE-74Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-94.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00255 17th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FoundationAgentsMetaGPT0.8.0; 0.8.1—No fix listedCNA
  • MetaGPT VendorFoundationAgents Affected 0.8.0; 0.8.1 Fixed in — No fix listed CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*up to 0.8.1VulnerableFoundationAgents
  • cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:* Versions up to 0.8.1 Vulnerable ·FoundationAgents

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-4515
  2. 2026-10-03 Alias added: GHSA-6qq6-2j27-fq65

References

  • TI-2024-15753 MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because… CVSS 3.1HIGH 8.8
  • TI-2026-05354 FoundationAgents MetaGPT Tree-of-Thought Solver tot.py generate_thoughts code injection CVSS 4.0MEDIUM 6.9
  • TI-2026-05237 FoundationAgents MetaGPT terminal.py Bash.run os command injection CVSS 4.0MEDIUM 6.9
  • TI-2026-05236 FoundationAgents MetaGPT common.py get_mime_type os command injection CVSS 4.0MEDIUM 6.9
  • TI-2026-05235 FoundationAgents MetaGPT terminal.py Terminal.run_command os command injection CVSS 4.0MEDIUM 6.9
  • TI-2026-05234 FoundationAgents MetaGPT XML action_node.py ActionNode.xml_fill eval injection CVSS 4.0MEDIUM 6.9
See all 12 →

Sources