MEDIUM4.3
PYSEC-2026-2643
MetaGPT has an eval injection via a cross-site request forgery attack
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/metagpt
Introduced in:
0No fixed version published yet for metagpt (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-6109[ADVISORY]
- https://github.com/FoundationAgents/MetaGPT/issues/1932[WEB]
- https://github.com/FoundationAgents/MetaGPT[PACKAGE]
- https://vuldb.com/submit/791759[WEB]
- https://vuldb.com/vuln/356969[WEB]
- https://vuldb.com/vuln/356969/cti[WEB]
- https://pypi.org/project/metagpt[PACKAGE]
- https://github.com/advisories/GHSA-w287-wwhf-95vv[ADVISORY]