CVE-2026-82217
Received Received - Intake

Path Traversal in Eclipse Theia AI Agent Mode

Vulnerability report for CVE-2026-82217, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-31

Last updated on: 2026-08-31

Assigner: Eclipse Foundation

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-31
Last Modified
2026-08-31
Generated
2026-08-31
AI Q&A
2026-08-31
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
eclipse theia to 1.75.0 (exc)
eclipse theia From 1.73.0 (inc) to 1.75.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in Eclipse Theia versions 1.73.0 to 1.74.99 allows AI Agent Mode file-change tools to write or delete files outside the workspace by resolving untrusted model-supplied paths without proper containment checks. Crafted paths like ../.bashrc or absolute paths can target sensitive system files, enabling code execution if those files are later executed by the backend OS user.

Detection Guidance

Check Eclipse Theia versions between 1.73.0 and 1.74.9 for AI Agent Mode usage. Inspect logs for suspicious file write operations or path traversal attempts in AI tool calls. Look for unauthorized modifications to files outside the workspace like ~/.bashrc or ~/.ssh/authorized_keys.

Impact Analysis

An attacker could exploit this to write malicious code to files like ~/.bashrc or ~/.ssh/authorized_keys, leading to remote code execution on the backend system. In Agent Mode, writes happen automatically without user confirmation, increasing the risk of silent compromise.

Compliance Impact

This vulnerability could lead to unauthorized code execution on backend systems, potentially violating data confidentiality and integrity requirements under GDPR, HIPAA, or other regulations. Unauthorized file writes may expose sensitive data or enable further attacks, impacting compliance with security and privacy controls.

Mitigation Strategies

Upgrade Eclipse Theia to version 1.75.0 or later. Disable AI Agent Mode if not required. Implement strict path validation for all file operations. Run Theia backend with minimal privileges. Enable confirmation prompts for external file writes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-82217. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart