Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| plandex-ai / plandex | affected 0 through 2.2.1 |
CWE
CWE-22
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
ADP enrichment
No English description supplied.
No references supplied.