Skip to content
Heist/ feed
Back to feed
Medium

FoundationAgents MetaGPT HumanEvalBenchmark/MBPPBenchmark check_solution code injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-5970
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 17:45 UTC · Revision 1

Source evidence

FoundationAgents MetaGPT HumanEvalBenchmark/MBPPBenchmark check_solution code injection

core-osv · Original source

Published 9 Apr 2026, 17:00 UTC

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.

osv:CVE-2026-5970
Complete source record
{
  "id": "79ba959681c0909829537c1dca48db3a6b389edf2f3e001ffa72ac5242ad04f4",
  "url": "https://osv.dev/vulnerability/CVE-2026-5970",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "FoundationAgents MetaGPT HumanEvalBenchmark/MBPPBenchmark check_solution code injection",
    "summary": "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.",
    "evidence": "osv:CVE-2026-5970",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-5970",
      "aliases": [
        "CVE-2026-5970",
        "GHSA-g977-h85w-h2xj",
        "PYSEC-2026-2640"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/foundationagents/metagpt",
              "type": "GIT",
              "events": [
                {
                  "introduced": "feb2d30364e68cd74193d8f7715c3b90fafd02ec"
                },
                {
                  "last_affected": "c036574507e7616c02512e7c8ad88dd847783afa"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0.8.0"
                      },
                      {
                        "last_affected": "0.8.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "introduced": "0.8.1"
                      },
                      {
                        "last_affected": "0.8.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "cpe": "cpe:2.3:a:deepwisdom:metagpt:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "0.8.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.8.0",
            "0.8.1",
            "v0.8.1",
            "v0.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5970.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.120443961Z",
      "provider": "osv",
      "references": [
        "https://github.com/FoundationAgents/MetaGPT/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5970.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-5970",
        "https://vuldb.com/submit/791693",
        "https://vuldb.com/vuln/356524",
        "https://github.com/FoundationAgents/MetaGPT/issues/1942",
        "https://vuldb.com/vuln/356524/cti",
        "https://github.com/FoundationAgents/MetaGPT/pull/1988"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-94"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5970.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-5970",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505453,
  "published_at": "2026-04-09T17:00:21.409+00:00"
}