CVE-2026-85690
8.5
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| plandex-ai | plandex | 0 <= 2.2.1 | affected |
Weaknesses
- CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://github.com/plandex-ai/plandex/issues/352
- https://github.com/plandex-ai/plandex
- https://github.com/plandex-ai/plandex/blob/cli/v2.2.1/app/cli/lib/apply.go
- https://www.vulncheck.com/advisories/plandex-2.2.1-path-traversal-via-applyfiles
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.