CVE-2026-19059 Details
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.
A path traversal vulnerability has been identified in Foundation Agents MetaGPT versions prior to 0.8.2. The issue arises in the 'read' function of 'metagpt/tools/libs/editor.py', where the file access logic fails to properly restrict file reads to the project workspace. This vulnerability allows for unauthorized access to sensitive system and user files, such as '/etc/passwd' and Git configuration files, including credentials. The vulnerability must be exploited locally, and has been publicly disclosed.
To address this vulnerability, it is recommended to enforce a strict workspace boundary for file access. This includes denying absolute-path reads outside the workspace, blocking access to known-sensitive directories by default, and providing a hardened mode that disables external file access outside the workspace.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Aug 6, 2026CISA-ADP
Assessed Aug 7, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://vuldb.com/submit/864278 | CISA-ADP | Issue TrackingPermission Required |
| https://gist.github.com/tchen200311/cde7fa2213f3df85d19c1928e3c4a509 | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/cve/CVE-2026-19059 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/864278 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/386516 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/vuln/386516/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| FoundationAgents MetaGPT | <= 0.8.2 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 23, 2026 | CVE Translated | [email protected] |
| Aug 7, 2026 | CVE Modified | CISA-ADP |
| Aug 6, 2026 | New CVE Received | [email protected] |
Volerion