CVE-2026-46580 [Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: total
Description
In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were automatically loaded and could override or extend the AI agent's system prompts. An attacker could craft a malicious repository containing prompt template files that, when the workspace was opened in Theia, replaced the AI's system instructions with attacker-controlled content (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.
Upgrade path
8 packages: 8 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| Eclipse Foundation Eclipse Theia | < 1.71.0 | 1.71.0 | Fixed |
| eclipse theia | < 1.71.0 | 1.71.0 | Fixed |
| theia @theia/ai-chat(npm) | < 1.71.0 | 1.71.0 | Fixed |
| theia @theia/ai-chat-ui(npm) | < 1.71.0 | 1.71.0 | Fixed |
| theia @theia/ai-claude-code(npm) | < 1.71.0 | 1.71.0 | Fixed |
| theia @theia/ai-code-completion(npm) | < 1.71.0 | 1.71.0 | Fixed |
| theia @theia/ai-core(npm) | < 1.71.0 | 1.71.0 | Fixed |
| theia @theia/ai-editor(npm) | < 1.71.0 | 1.71.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Eclipse Foundation Eclipse Theia | < 1.71.0 | 1.71.0 |
| theia @theia/ai-chat-ui(npm) | < 1.71.0 | 1.71.0 |
| theia @theia/ai-chat(npm) | < 1.71.0 | 1.71.0 |
| theia @theia/ai-claude-code(npm) | < 1.71.0 | 1.71.0 |
| theia @theia/ai-code-completion(npm) | < 1.71.0 | 1.71.0 |
| theia @theia/ai-core(npm) | < 1.71.0 | 1.71.0 |
| theia @theia/ai-editor(npm) | < 1.71.0 | 1.71.0 |
| eclipse theia | < 1.71.0 | 1.71.0 |
References
- gitlab.eclipse.org patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com patch
- github.com patch
- github.com
- github.com product