← Back to overview

CVE-2026-82217 affects Eclipse Theia versions 1.73.0 up to but not including 1.75.0. The AI Agent Mode file-change tools (writeFileContent, suggestFileContent, and related helpers) fail to validate that model-supplied file paths remain within the workspace boundary. Attackers can supply crafted relative paths (e.g., ../.bashrc), absolute paths, or tilde-expanded paths to read, write, or delete files outside the workspace with the privileges of the Theia backend OS user. Because the path argument is derived from model output, the vulnerability is exploitable via indirect prompt injection. In Agent Mode, file writes are applied automatically without a user confirmation dialog, removing a key safety gate. Writing to sensitive host-executed files such as shell startup scripts or ~/.ssh/authorized_keys can lead to remote code execution on the backend host. Patches are available in version 1.75.0 and later, with a fix referenced in the linked GitHub commit.

Affected products

  • Eclipse Theia 1.73.0
  • Eclipse Theia 1.74.x

Related CVE's

  • CVE-2026-82217

Categories

  • Emerging Technologies
  • Web Technologies
  • Zero-Day Vulnerabilities