Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/eclipse-theia/theia/commit/28da106c254
- https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/624
FAQ
What is CVE-2026-82217?
CVE-2026-82217 is a vulnerability with a CVSS score of 8.8 (HIGH). 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-su...
How severe is CVE-2026-82217?
CVE-2026-82217 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-82217?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.