Description
A vulnerability was determined in FoundationAgents MetaGPT up to 0.8.2. This affects the function read of the file metagpt/tools/libs/editor.py. This manipulation causes path traversal. The attack needs to be launched locally. The exploit has been publicly disclosed and may be utilized. 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

The issue resides in MetaGPT’s editor module, where an improperly sanitized file path supplied to the read function can be manipulated to reference files outside the intended directory. This path traversal allows an attacker with local execution rights to read arbitrary files on the host. The vulnerability is classified as CWE‑22 and was identified in versions of MetaGPT up to 0.8.2.

Affected Systems

Manufactured by FoundationAgents, the product MetaGPT is affected by this flaw in all releases through version 0.8.2. No information currently indicates that newer versions contain the fix, so any instance running 0.8.2 or earlier must be inspected for the presence of the vulnerable code.

Risk and Exploitability

The CVSS score of 4.8 indicates moderate severity, and the EPSS score is not available, suggesting limited evidence of active exploitation. The vulnerability is not listed in CISA’s KEV catalog. Because the attack requires local code execution, the danger is limited to users who can run MetaGPT directly on the system; privilege escalation would be needed to gain read access to protected files.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade MetaGPT to the latest patched release when it becomes available.
  • Restrict the process’s file system permissions or run MetaGPT inside a sandboxed environment to prevent access to sensitive files.
  • Sanitize any user‑supplied file paths before invoking the read function, ensuring paths remain within the intended directory hierarchy.

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 determined in FoundationAgents MetaGPT up to 0.8.2. This affects the function read of the file metagpt/tools/libs/editor.py. This manipulation causes path traversal. The attack needs to be launched locally. The exploit has been publicly disclosed and may be utilized. The vendor was contacted early about this disclosure but did not respond in any way.
Title FoundationAgents MetaGPT editor.py read path traversal
First Time appeared Foundationagents
Foundationagents metagpt
Weaknesses CWE-22
CPEs cpe:2.3:a:foundationagents:metagpt:*:*:*:*:*:*:*:*
Vendors & Products Foundationagents
Foundationagents metagpt
References
Metrics cvssV2_0

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

cvssV3_0

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

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/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:N/VA:N/SC:N/SI:N/SA:N/E:P'}


Subscriptions

Foundationagents Metagpt
cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-08-06T16:30:09.944Z

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

Link: CVE-2026-19059

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-07T00:00:05Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')