CVE-2026-46580
HIGH 8.4CVSS 4.0[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat
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.
- Published
- 18 Jun 2026
- Last modified
- 26 Oct 2026
- Assigned by
- emo@eclipse.org
- NVD status
- Analyzed
- Weakness
- CWE-829
- Also known as
- GHSA-m973-pr9r-hp2w
- Sources
- NVDJSONOSV GHSA-m973-pr9r-hp2wJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | emo@eclipse.org (Secondary) | CVSS 4.0 | HIGH 8.4 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | eclipse | theiacpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:* |
< 1.71.0 | 1.71.0 |
| OSV | npm | @theia/ai-chat-ui | < 1.71.0 | 1.71.0 |
| OSV | npm | @theia/ai-chat | < 1.71.0 | 1.71.0 |
| OSV | npm | @theia/ai-claude-code | < 1.71.0 | 1.71.0 |
| OSV | npm | @theia/ai-code-completion | < 1.71.0 | 1.71.0 |
| OSV | npm | @theia/ai-core | < 1.71.0 | 1.71.0 |
| OSV | npm | @theia/ai-editor | < 1.71.0 | 1.71.0 |
References
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/114 · Vendor Advisory, Patch, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-46580 · ADVISORY
- 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 · WEB
- https://github.com/eclipse-theia/theia · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jun 2026)