MetaGPT has an eval injection via a cross-site request forgery attack
CVE-2026-6109 · GHSA-w287-wwhf-95vv · published 2026-04-12 · updated 2026-04-14
- Severity
- Low
- CVSS score
- 4.3
- Chance of exploitation (EPSS)
- 0.23%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Partial
- CISA SSVC
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.
No fixed release is listed yet for metagpt. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Command or code injection. Remove or disable the affected server or tool, or run it in a sandbox with no secrets in its environment.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| metagpt | PyPI | <= 0.8.2 | No fix yet |
- CriticalMLflow: Unauthenticated full-read SSRF in webhook delivery: _validate_webhook_url bypassed via unvalidated HTTP redirects (and DNS rebindingmlflowExploited
- Critical@zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery@zereight/mcp-gitlab
- CriticalSSRF + LLM API key exfiltration via user-controlled basepath / baseUrl in 8 chat-model nodesflowise, flowise-components
- CriticalLocalAI POST /models/apply permits unauthenticated server-side request forgery through gallery URLsgithub.com/mudler/LocalAI
- CriticalFastMCP OpenAPI Provider has an SSRF & Path Traversal Vulnerabilityfastmcp
- CriticalBentoML SSRF Vulnerability in File Upload Processingbentoml
- HighCode execution in metagptmetagpt
- MediumMetaGPT has an eval injection in metagpt/strategy/tot.pymetagpt
- MediumFoundationAgents MetaGPT vulnerable to eval injectionmetagpt
- MediumFoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/tools/libs/terminal.pymetagpt
- MediumMetaGPT has an Injection issuemetagpt
- MediumFoundationAgents MetaGPT vulnerable to OS Command Injection in metagpt/utils/common.pymetagpt
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.