Description
In Eclipse Theia versions 1.73.0 up to but not including 1.75.0, the AI "Agent Mode" file-change tools (writeFileContent, suggestFileContent, and the replacement and state helpers) resolved a model-supplied file path without a workspace-containment check. A crafted relative path such as ../.bashrc, an absolute path, or a ~-expanded path could therefore write or delete files outside the workspace with the privileges of the Theia backend OS user. Because the path argument is influenced by model output, it can be steered through indirect prompt injection, and in Agent Mode writes are applied without a confirmation dialog. Writing to a host-executed file such as a shell startup file or ~/.ssh/authorized_keys can escalate to code execution on the backend.
Published: 2026-08-31
Score: 8.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Remote File Write with Code Execution Potential
Action: Patch Immediately
AI Analysis

Impact

The flaw lies in Eclipse Theia’s AI "Agent Mode" file‑change tools, which incorrectly resolve a path supplied by the model without ensuring that it stays within the workspace. By providing a crafted relative path such as ../.bashrc, an absolute path, or a tilde‑expanded location, an attacker can cause the backend to write or delete files outside the intended area. The affected file‑change operations are executed with the Theia backend OS user’s privileges and are applied without a confirmation step, so an attacker who can influence the model’s output—via indirect prompt injection—can overwrite critical host files such as shell startup scripts or ~/.ssh/authorized_keys, enabling code execution on the backend.

Affected Systems

Eclipse Foundation Eclipse Theia versions 1.73.0 through 1.74.x (up to, but not including, 1.75.0) are vulnerable. Any deployment running one of these releases is at risk.

Risk and Exploitability

The CVSS score of 8.8 indicates a high severity tier, and while EPSS data is not available, the capability to write or delete privileged files strongly suggests a high likelihood of exploitation. The lack of a workspace containment check permits directory traversal (CWE‑22). The primary attack vector is likely remote interaction with the Theia backend via the chatbot or other AI interfaces, with indirect prompt injection steering the model to produce the malicious path. Because the vulnerability is not listed in CISA’s KEV catalog, it may already be in active development or at risk of emerging exploitation once the feature is broadly used.

Generated by OpenCVE AI on August 31, 2026 at 15:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Eclipse Theia to version 1.75.0 or newer where the containment check is fixed
  • Restrict the permissions of the Theia backend operating system user to prevent writes to critical system files
  • If an upgrade is not possible, disable or limit the Agent Mode file‑change features until a patch is applied

Generated by OpenCVE AI on August 31, 2026 at 15:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 31 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Title Directory Traversal Allows Unauthorized File Write in Eclipse Theia's Agent Mode

Mon, 31 Aug 2026 15:00:00 +0000

Type Values Removed Values Added
First Time appeared Eclipse
Eclipse eclipse Theia
Vendors & Products Eclipse
Eclipse eclipse Theia

Mon, 31 Aug 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Mon, 31 Aug 2026 13:45:00 +0000

Type Values Removed Values Added
Description In Eclipse Theia versions 1.73.0 up to but not including 1.75.0, the AI "Agent Mode" file-change tools (writeFileContent, suggestFileContent, and the replacement and state helpers) resolved a model-supplied file path without a workspace-containment check. A crafted relative path such as ../.bashrc, an absolute path, or a ~-expanded path could therefore write or delete files outside the workspace with the privileges of the Theia backend OS user. Because the path argument is influenced by model output, it can be steered through indirect prompt injection, and in Agent Mode writes are applied without a confirmation dialog. Writing to a host-executed file such as a shell startup file or ~/.ssh/authorized_keys can escalate to code execution on the backend.
Weaknesses CWE-22
References
Metrics cvssV3_1

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


Subscriptions

Eclipse Eclipse Theia
cve-icon MITRE

Status: PUBLISHED

Assigner: eclipse

Published:

Updated: 2026-09-01T03:56:19.988Z

Reserved: 2026-08-28T08:47:00.677Z

Link: CVE-2026-82217

cve-icon Vulnrichment

Updated: 2026-08-31T13:57:45.531Z

cve-icon NVD

Status : Deferred

Published: 2026-08-31T14:17:26.610

Modified: 2026-09-01T21:11:35.983

Link: CVE-2026-82217

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T15:15:14Z

Weaknesses
  • CWE-22

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