Browse / AI Framework and Platform Flaws / CVE-2026-6109
MetaGPT has an eval injection via a cross-site request forgery attack
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Code and command execution
- Affected
- metagpt (PyPI)
- CVSS
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- EPSS
- 0.2% chance of exploitation in 30 days
How it works, in short
A cross-site request forgery against the Mineflayer HTTP API triggers evaluation of attacker-supplied code in the agent's environment. (Our summary, written by a model. The source text is below.)
Details
A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.2. The impacted element is the function evaluateCode of the file metagpt/environment/minecraft/mineflayer/index.js of the component Mineflayer HTTP API. Executing a manipulation can lead to cross-site request forgery. The attack may be performed from remote. The exploit has been publicly disclosed and may be utilized. The project was informed of the problem early through an issue report but has not responded yet.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6109
- https://github.com/FoundationAgents/MetaGPT/issues/1932
- https://github.com/FoundationAgents/MetaGPT
- https://vuldb.com/submit/791759
- https://vuldb.com/vuln/356969
- https://vuldb.com/vuln/356969/cti
Source: GitHub Advisory Database, used under CC BY 4.0.