CVE-2026-85690

Plandex 2.2.1 Path Traversal via ApplyFiles

Published Sep 4, 2026 CVSS 4.0 · 8.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Plandex-ai
Plandex-ai plandex
Vendors & Products Plandex-ai
Plandex-ai plandex
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'}

Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 4, 2026, 3:09 PM
Reserved
Sep 4, 2026, 1:51 PM
Status
Deferred
Published
Sep 4, 2026, 3:17 PM
Modified
Sep 23, 2026, 5:17 PM