Description
A vulnerability was found in FoundationAgents MetaGPT up to 0.8.2. The impacted element is the function DataInterpreter of the file metagpt/roles/di/data_interpreter.py. The manipulation results in code injection. The attack must be initiated from a local position. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Published: 2026-08-06
Score: 4.8 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

DataInterpreter in MetaGPT’s data_interpreter.py can be abused to inject code when invoked locally. The flaw allows an attacker who can trigger the function to execute arbitrary statements, potentially compromising local processes or leaking sensitive information. The vulnerability is a typical code-injection weakness identified by CWE‑74 and CWE‑94.

Affected Systems

FoundationAgents’ MetaGPT versions up to 0.8.2 are affected. The issue resides in the DataInterpreter routine supplied with those releases.

Risk and Exploitability

The CVSS score of 4.8 signals a moderate severity risk, and the absence of an EPSS rating indicates limited known exploitation activity. Because the attack vector is strictly local, the threat is confined to systems where the user or process can invoke the vulnerable function. The vulnerability is not listed in CISA KEV, but the public exploit code suggests that an unaware user could leverage it if local access is available.

Generated by OpenCVE AI on August 6, 2026 at 23:51 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update MetaGPT to a version newer than 0.8.2 where the DataInterpreter injection flaw is resolved
  • If a patch is not yet available, restrict local execution of DataInterpreter or deploy network-level isolation to prevent local users from triggering the vulnerable function
  • Sanitize any user‑controlled input before it is passed to the DataInterpreter component to mitigate injection attempts

Generated by OpenCVE AI on August 6, 2026 at 23:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 06 Aug 2026 22:15:00 +0000

Type Values Removed Values Added
Description A vulnerability was found in FoundationAgents MetaGPT up to 0.8.2. The impacted element is the function DataInterpreter of the file metagpt/roles/di/data_interpreter.py. The manipulation results in code injection. The attack must be initiated from a local position. The exploit has been made public and could be used. The vendor was contacted early about this disclosure but did not respond in any way.
Title FoundationAgents MetaGPT data_interpreter.py DataInterpreter code injection
First Time appeared Foundationagents
Foundationagents metagpt
Weaknesses CWE-74
CWE-94
CPEs cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:*
Vendors & Products Foundationagents
Foundationagents metagpt
References
Metrics cvssV2_0

{'score': 4.3, 'vector': 'AV:L/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 5.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 4.8, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Foundationagents Metagpt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-06T15:45:11.184Z

Reserved: 2026-08-06T08:21:20.181Z

Link: CVE-2026-19058

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T00:15:04Z

Weaknesses
  • CWE-74

    Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')