{"id":"CVE-2026-85690","title":"Plandex 2.2.1 contains a path traversal vulnerability in the ApplyFiles function that allows attackers to write files outside the project directory","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-contr…","severity":"high","cvss":7.8,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwe":["CWE-22"],"published":"2026-09-04","updated":"2026-09-23","sourceUpdated":"2026-09-23T17:17:46.693","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-85690","references":[{"url":"https://github.com/plandex-ai/plandex","label":"disclosure@vulncheck.com"},{"url":"https://github.com/plandex-ai/plandex/blob/cli/v2.2.1/app/cli/lib/apply.go","label":"disclosure@vulncheck.com"},{"url":"https://github.com/plandex-ai/plandex/issues/352","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/plandex-2.2.1-path-traversal-via-applyfiles","label":"disclosure@vulncheck.com"}],"tags":["nvd"],"epss":0.00156,"epssPercentile":0.05126,"ingestedAt":"2026-09-23T17:28:14.826Z","slug":"CVE-2026-85690","body":"## Overview\n\nPlandex 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":43,"depthScoreParts":{"impact":42.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}