CVE-2026-85690 Plandex 2.2.1 Path Traversal via ApplyFiles
Attackers can write files outside the project directory via path traversal in Plandex, potentially achieving code execution by modifying shell or cron files.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-85690?
CVE-2026-85690 is a high-severity path traversal vulnerability in plandex-ai plandex, published on 4 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
Plandex 2.2.1 contains a path traversal vulnerability in the ApplyFiles function that allows attackers to write files outside the project directory. Attackers can influence model output through poisoned repository files or attacker-controlled context to write to arbitrary locations like shell rc or cron files, achieving code execution.
Weakness: CWE-22
Which versions are affected by CVE-2026-85690?
How do I fix CVE-2026-85690?
No fix has been published for CVE-2026-85690 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-85690 being exploited?
There is no known exploitation of CVE-2026-85690 in the wild and no public exploit code.
Sources
Also known as GHSA-8xmq-vqjx-27gw.