- CVSS
- HIGH · 8.8v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Published
- 2026-08-31
- Weakness
- CWE-22
- Source
- nvd.nist.gov/vuln/detail/CVE-2026-82217
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.
References
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2026-82217 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.