CVE-2026-4516: Foundation Agents MetaGPT · Injection
Affects Foundation Agents MetaGPTSource CVE Database V5
Public exploit available · CVSS 5.3 Medium.
Data as of 1 Nov 2026, 22:58 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 16% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:PExploitation evidence
Disclosed: evidence found.
CVE published 21 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
CVSS exploit maturity: proof of concept public
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), CVSS vector, the Metasploit, Exploit-DB and nuclei-templates index as of 1 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Foundation AgentsMetaGPT | Affected
| Fixed in– |
GitHubfoundation agents/MetaGPTpkg:github/foundation agents/MetaGPTOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediately restrict network access to MetaGPT instances, ensuring they are not exposed to untrusted or public networks.
- Implement strict input validation and sanitization on all inputs processed by the DataInterpreter component, particularly those handled by metagpt/actions/di/write_analysis_code.py, to prevent injection payloads.
- Monitor logs and network traffic for unusual or suspicious activity indicative of injection attempts or exploitation.
- Employ application-layer firewalls or runtime application self-protection (RASP) tools to detect and block injection attacks in real time.
- Isolate MetaGPT environments from critical production systems to limit potential impact.
- Engage with the vendor or community to track any forthcoming patches or updates and apply them promptly once available.
- Consider deploying compensating controls such as containerization or sandboxing of MetaGPT processes to limit the blast radius of a successful attack.
- Conduct regular security assessments and code reviews focusing on injection vulnerabilities within AI orchestration components.
Description
A vulnerability was found in Foundation Agents MetaGPT up to 0.8.1. This vulnerability affects unknown code of the file metagpt/actions/di/write_analysis_code.py of the component DataInterpreter. The manipulation results in injection. It is possible to launch the attack remotely. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.