# CVE-2026-5970: PYSEC-2026-2640 - MetaGPT has an Injection issue

Source: https://junglewise.ai/threats/cve-2026-5970-metagpt-has-an-injection-issue  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-09  
License: CC BY 4.0 with a link back

CVE-2026-5970 · Severity: high · CVSS 7.3 · Published 2026-04-09

A vulnerability was detected in FoundationAgents MetaGPT up to 0.8.1. This affects the function check_solution of the component HumanEvalBenchmark/MBPPBenchmark. Performing a manipulation results in code injection. The attack may be initiated remotely. The exploit is now public and may be used. The project was informed of the problem early through a pull request but has not reacted yet.

Technologies: [Deepwisdom Metagpt](https://junglewise.ai/threats/technologies/metagpt), [metagpt (PyPI)](https://junglewise.ai/threats/technologies/pypi-metagpt). Vendors: [Deepwisdom](https://junglewise.ai/threats/vendors/deepwisdom), [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-5970 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-5970 being exploited in the wild.

**How severe is CVE-2026-5970?** High severity, with a CVSS score of 7.3, published 9 April 2026.

**Which products and versions are affected?** metagpt (PyPI) ECOSYSTEM:introduced=0,last_affected=0.8.1.

**Is there a fix for CVE-2026-5970?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**Am I affected by CVE-2026-5970?** Check whether you run Deepwisdom Metagpt or metagpt (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Affected products

- Deepwisdom Metagpt
- metagpt (PyPI) ECOSYSTEM:introduced=0,last_affected=0.8.1

## Identifiers

- CVE-2026-5970
- GHSA-g977-h85w-h2xj
- PYSEC-2026-2640

## Related threats

- [FoundationAgents MetaGPT unsafe deserialization in Message.check_instruct_content](https://junglewise.ai/threats/cve-2026-10566-foundationagents-metagpt-unsafe-deserialization-in-message-check)
- [FoundationAgents MetaGPT SSRF in decode_image](https://junglewise.ai/threats/cve-2026-6111-foundationagents-metagpt-ssrf-in-decode-image)
- [FoundationAgents MetaGPT code injection in Tree-of-Thought Solver](https://junglewise.ai/threats/cve-2026-6110-foundationagents-metagpt-code-injection-in-tree-of-thought-solver)
- [FoundationAgents MetaGPT RCE via CSRF in Mineflayer HTTP API](https://junglewise.ai/threats/cve-2026-6109-foundationagents-metagpt-rce-via-csrf-in-mineflayer-http-api)
- [FoundationAgents MetaGPT OS command injection in Bash tool](https://junglewise.ai/threats/cve-2026-5974-foundationagents-metagpt-os-command-injection-in-bash-tool)
