[Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat
GHSA-3jww-hxqj-wfq2 · CVE-2026-44688
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (indirect prompt injection). Combined with other AI chat features available in untrusted workspaces, this enabled attack chains leading to data exfiltration via Markdown image rendering or arbitrary command execution via task definitions.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-44688
- WEB https://github.com/eclipse-theia/theia/issues/16892
- WEB https://github.com/eclipse-theia/theia/pull/17364
- WEB https://github.com/eclipse-theia/theia/commit/e3fdfe6992389bc5fa611058d00c39d7408508ed
- PACKAGE https://github.com/eclipse-theia/theia
- WEB https://gitlab.eclipse.org/security/cve-assignment/-/work_items/113
Ready to move
Start Securing
Free, no credit card | First findings in minutes