CVE-2026-85690: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in plandex-ai plandex
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.
CVSS v4.0
Score 8.5high
Affected software
plandex-ai
plandex
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-85690 is a path traversal vulnerability in plandex-ai's plandex product, specifically in version 2.2.1. The flaw exists in the ApplyFiles function, which improperly restricts pathname access, allowing attackers to write files outside the project directory. By influencing model output through poisoned repository files or attacker-controlled context, an attacker can write to arbitrary locations such as shell rc or cron files, enabling code execution. The vulnerability has a CVSS 4.0 score of 8.5, indicating high severity. There is no vendor advisory or patch information currently available, and the product is not a cloud service.
Potential Impact
An attacker can exploit this vulnerability to write arbitrary files outside the intended directory, including critical system files like shell rc or cron files. This can lead to arbitrary code execution on the affected system. The vulnerability requires local attack vector with low complexity and no privileges, but user interaction is needed. The impact on confidentiality, integrity, and availability is high.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should consider restricting access to the ApplyFiles function or running plandex in a restricted environment to limit potential damage from exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-09-04T13:51:44.303Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a9adb47acd9273b49bef5d3
Added to database: 09/04/2026, 14:52:55 UTC
Last enriched: 09/07/2026, 12:16:08 UTC
Last updated: 10/19/2026, 18:48:24 UTC
Views: 120
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.