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.
Published: 2026-09-04
Score: 8.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Apply Patch
AI Analysis

Impact

Plandex 2.2.1 suffers from a path traversal flaw in its ApplyFiles command. The flaw allows an attacker to write files outside the intended project directory, including critical system files such as shell initialization scripts or cron job definitions. By placing malicious content in repository files or manipulating the context passed to the command, the attacker can cause the application to write code that runs with the service's privileges, leading to remote code execution.

Affected Systems

The affected product is Plandex version 2.2.1, developed by Plandex AI. No other versions are listed as vulnerable. Any deployment of that version is at risk, while earlier or later releases are not indicated as affected.

Risk and Exploitability

The CVSS score of 8.5 marks this as a high severity vulnerability. Epistemic probability of exploitation is unclear due to the lack of EPSS data, and the issue is not currently listed in CISA's KEV catalog. Nevertheless, the ability to overwrite system files gives an attacker the potential for code execution, which makes the risk significant especially in environments where the ApplyFiles functionality is exposed to untrusted input. Organizations running Plandex 2.2.1 should treat this flaw as a high priority security concern.

Generated by OpenCVE AI on September 4, 2026 at 15:44 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to the latest Plandex release that includes a fix for the path traversal bug.
  • Restrict or disable the ApplyFiles command for untrusted repositories to prevent unauthorized file writes.
  • Ensure critical system directories such as shell initialization files and cron directories are protected by strict file permissions and monitor them for unexpected modifications.

Generated by OpenCVE AI on September 4, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 04 Sep 2026 16:15:00 +0000

Type Values Removed Values Added
First Time appeared Plandex-ai
Plandex-ai plandex
Vendors & Products Plandex-ai
Plandex-ai plandex

Fri, 04 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title Plandex 2.2.1 Path Traversal via ApplyFiles
Weaknesses CWE-22
References
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, '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'}


Subscriptions

Plandex-ai Plandex
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-04T15:09:08.777Z

Reserved: 2026-09-04T13:51:44.303Z

Link: CVE-2026-85690

cve-icon Vulnrichment

Updated: 2026-09-04T15:08:56.530Z

cve-icon NVD

Status : Deferred

Published: 2026-09-04T15:17:46.947

Modified: 2026-09-23T17:17:46.693

Link: CVE-2026-85690

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-04T15:52:18Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')