CVE-2026-46580
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.
How to fix
- eclipse theia1.71.0 or later
- @theia/ai-chat-ui1.71.0 or later
- @theia/ai-chat1.71.0 or later
- @theia/ai-claude-code1.71.0 or later
- @theia/ai-code-completion1.71.0 or later
- @theia/ai-core1.71.0 or later
- @theia/ai-editor1.71.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| eclipse theia | v < 1.71.0 | 1.71.0 |
| @theia/ai-chat-uinpm | v < 1.71.0 | 1.71.0 |
| @theia/ai-chatnpm | v < 1.71.0 | 1.71.0 |
| @theia/ai-claude-codenpm | v < 1.71.0 | 1.71.0 |
| @theia/ai-code-completionnpm | v < 1.71.0 | 1.71.0 |
| @theia/ai-corenpm | v < 1.71.0 | 1.71.0 |
| @theia/ai-editornpm | v < 1.71.0 | 1.71.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.