CVE-2026-19058

FoundationAgents MetaGPT data_interpreter.py DataInterpreter code injection

Published Aug 6, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

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'}

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')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Aug 7, 2026, 1:51 PM
Reserved
Aug 6, 2026, 8:21 AM
Status
Deferred
Published
Aug 6, 2026, 10:16 PM
Modified
Oct 23, 2026, 9:10 PM