CVE-2026-46580Eclipse Theia
High 8.4
Follow: this CVE · Eclipse · Eclipse Theia We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 4.0
- 8.4
- EPSS
- —
- Auth required
- Yes
- Published
- Jun 18, 2026
- Updated
- Oct 26, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-829
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Theia.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @theia/ai-chat |
< 1.71.0 |
1.71.0 |
npm install @theia/ai-chat@1.71.0 |
| npm | @theia/ai-chat-ui |
< 1.71.0 |
1.71.0 |
npm install @theia/ai-chat-ui@1.71.0 |
| npm | @theia/ai-claude-code |
< 1.71.0 |
1.71.0 |
npm install @theia/ai-claude-code@1.71.0 |
| npm | @theia/ai-code-completion |
< 1.71.0 |
1.71.0 |
npm install @theia/ai-code-completion@1.71.0 |
| npm | @theia/ai-core |
< 1.71.0 |
1.71.0 |
npm install @theia/ai-core@1.71.0 |
| npm | @theia/ai-editor |
< 1.71.0 |
1.71.0 |
npm install @theia/ai-editor@1.71.0 |
Per OSV / GitHub Advisories (GHSA-m973-pr9r-hp2w). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eclipse | theia | < 1.71.0 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.eclipse.org Vendor Advisory Patch