CVE-2026-19059 FoundationAgents MetaGPT editor.py read path traversal
A local attacker can exploit a path traversal vulnerability in MetaGPT's editor tool to read arbitrary files from the system.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-19059?
CVE-2026-19059 is a medium-severity path traversal vulnerability in FoundationAgents MetaGPT, published on 6 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-22
Which versions are affected by CVE-2026-19059?
How do I fix CVE-2026-19059?
No fix has been published for CVE-2026-19059 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2026-19059 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-19059 exists.
Sources
Also known as GHSA-x7c6-rrf2-hrj9.