Skip to main content

MetaGPT CVE-2026-19059

| EUVDEUVD-2026-54294 LOW
Path Traversal (CWE-22)
2026-08-06 cna@vuldb.com GHSA-x7c6-rrf2-hrj9
1.9
CVSS 4.0 · Vendor: vuldb
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local OS access (PR:L)
  2. Delivery
    Craft traversal path (e.g., ../../etc/passwd)
  3. Exploit
    Pass path to MetaGPT read function
  4. Execution
    Bypass path validation
  5. Impact
    Exfiltrate sensitive local file contents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must have local access to the host system running MetaGPT and at minimum low-level operating system privileges (confirmed by CVSS 4.0 AV:L/PR:L). Exploitation requires the ability to supply or influence the file path argument passed to the read function in metagpt/tools/libs/editor.py - this can occur when a user-controlled prompt, agent task, or plugin passes unsanitized path strings to the editor tool. No non-default configuration is required; any MetaGPT 0.8.0-0.8.2 deployment that uses the editor tool's read function with attacker-influenced path input is vulnerable. Exploitation is bounded by: local-only attack vector (no remote exploitation), requirement for at least low OS-level privilege, and read-only impact (no file write, no service disruption). The attacker cannot escalate beyond what the MetaGPT process user account can already read at the OS level.

Impact

The CVSS 4.0 score of 1.9 accurately reflects the constrained risk profile. The local attack vector (AV:L) is the primary limiting factor - remote exploitation is not possible. Low privileges (PR:L) are required, ruling out fully unprivileged exploitation. Impact is confined to limited confidentiality (VC:L) with no integrity or availability consequences. No CISA KEV listing exists, meaning active exploitation in the wild is not confirmed. However, the CVSS 4.0 threat metric E:P confirms a public exploit exists (GitHub gist by tchen200311), which reduces the skill threshold for exploitation. EPSS data was not provided in available intelligence, so exploitation probability cannot be quantified numerically. Real-world risk is most relevant in environments where MetaGPT agents execute with access to sensitive files, or where multiple local users share a MetaGPT deployment. The absence of a vendor response or patch elevates residual risk despite the low base score.

Exploit ScenarioDerived

A local user with standard OS privileges on a system running MetaGPT 0.8.x crafts a file path argument containing traversal sequences such as ../../etc/shadow or ../../home/user/.ssh/id_rsa and passes it to the read tool function, either directly via the MetaGPT interface or by influencing an agent task prompt. The unsanitized path causes the function to read and return the contents of files outside the intended working directory. A public proof-of-concept demonstrating this technique is available at https://gist.github.com/tchen200311/cde7fa2213f3df85d19c1928e3c4a509, making exploitation straightforward for low-skill attackers with local access.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

Path traversal in MetaGPT versions 0.8.0 through 0.8.2 (FoundationAgents) allows a local low-privileged attacker to read arbitrary files on the host system via the read function in metagpt/tools/libs/editor.py. Impact is limited to confidentiality - no write or availability impact is present. A public proof-of-concept exploit has been disclosed on GitHub; no vendor patch exists as the vendor did not respond to coordinated disclosure.

RemediationAI

No vendor-released patch has been identified at time of analysis - the vendor did not respond to coordinated disclosure despite early contact. As a primary compensating control, deploy MetaGPT inside a container or chroot jail with filesystem access restricted strictly to required working directories, preventing traversal from reaching sensitive paths even if the vulnerability is triggered. Operators can also apply a local code patch normalizing file paths (e.g., using Python's os.path.realpath or pathlib.Path.resolve with a prefix check) before they are passed to the read function; this resolves the root cause but requires maintaining a fork. OS-level mandatory access controls (AppArmor profiles, SELinux policies, or seccomp filters) can restrict which files the MetaGPT process is permitted to open. Monitor application logs for traversal sequences (../) in file path arguments as a detection measure. Until an official patch is available, restrict local system access to MetaGPT deployments to trusted users only. Reference: VulDB advisory at https://vuldb.com/vuln/386516.

Affected VersionsENISA

MetaGPT 0.8.2
MetaGPT 0.8.0
MetaGPT 0.8.1

Affected Packages

euvd metagpt no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

MetaGPT is an LLM-based multi-agent framework where AI agents collaborate on software engineering tasks. The affected component is the read function in metagpt/tools/libs/editor.py, a tool that agents use to read filesystem content during task execution. CWE-22 (Path Traversal) identifies the root cause: the function accepts file path input without adequately sanitizing directory traversal sequences (e.g., ../), allowing input to escape the intended working directory scope and reference arbitrary files on the local filesystem. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L) confirms local-only reach, low privilege requirement, no special attack conditions, and limited confidentiality impact. No CPE strings were provided, but affected versions are explicitly identified as MetaGPT 0.8.0, 0.8.1, and 0.8.2 per EUVD-2026-54294.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vuldb) PRIMARY 1.9 MEDIUM
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
vuln.today AI 3.3 LOW

Local-only vector with low privileges required; impact is read-only limited confidentiality with no integrity or availability consequence per the description.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (vuldb).

CVSS VectorVendor: vuldb

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Low
niche AI agent framework with limited enterprise production footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy