Code execution in metagpt
CVE-2024-23750 · GHSA-g7ph-8423-pf4j · published 2024-01-22 · updated 2024-01-29
- Severity
- High
- CVSS score
- 8.8
- Chance of exploitation (EPSS)
- 0.96%
- Fixed in
- No fix yet
- Exploitation Public proof of concept
- Automatable No
- Technical impact Total
- CISA SSVC
MetaGPT through 0.6.4 allows the QaEngineer role to execute arbitrary code because RunCode.run_script() passes shell metacharacters to subprocess.Popen.
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, <= 0.6.6 | No fix yet |
- CriticalUnauthenticated Remote Code Execution in Langflow via Public Flow Build EndpointlangflowExploited
- CriticalRay is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding AttackrayExploited
- CriticalLangflow Unauth RCElangflow, langflow-baseExploited
- HighLiteLLM: Authenticated command execution via MCP stdio test endpointslitellmExploited
- CriticalMLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifacmlflow
- CriticalAgno: Arbitrary code execution via `eval()` on `field_type` in `FunctionCall`agno
- 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
- MediumFoundationAgents MetaGPT vulnerable to os command injection via the Terminal.run_commandmetagpt
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.