{"id":"CVE-2026-85690","state":"PUBLISHED","title":"Plandex 2.2.1 Path Traversal via ApplyFiles","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.","publishedAt":"2026-09-04T14:32:34.673Z","updatedAt":"2026-09-04T15:09:08.777Z","severity":{"score":8.5,"label":"High","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["plandex-ai plandex"],"affected":[{"vendor":"plandex-ai","product":"plandex","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.2.1","versionType":"semver"}]}],"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"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85690.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85690","state":"PUBLISHED","datePublished":"2026-09-04T14:32:34.673Z","dateUpdated":"2026-09-04T15:09:08.777Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-09-04T13:51:44.303Z"},"containers":{"cna":{"title":"Plandex 2.2.1 Path Traversal via ApplyFiles","descriptions":[{"lang":"en","value":"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":[{"vendor":"plandex-ai","product":"plandex","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.2.1","versionType":"semver"}]}],"references":[{"url":"https://github.com/plandex-ai/plandex/issues/352","tags":["issue-tracking"],"name":"GitHub Issue #352"},{"url":"https://github.com/plandex-ai/plandex","tags":["product"]},{"url":"https://github.com/plandex-ai/plandex/blob/cli/v2.2.1/app/cli/lib/apply.go","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/plandex-2.2.1-path-traversal-via-applyfiles","name":"VulnCheck Advisory: Plandex 2.2.1 Path Traversal via ApplyFiles","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"PASSIVE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-09-04T14:32:34.673Z"},"datePublic":"2026-06-12T00:00:00.000Z","credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-04T15:08:37.586518Z","id":"CVE-2026-85690","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-04T15:09:08.777Z"}}]}}}