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

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, metagpt (PyPI). Vendors: Deepwisdom, 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

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.