CVE-2026-46580 json
[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat
published 2026-06-18 4 mo ago modified 2026-10-26 14 d ago also EUVD-2026-37899 , GHSA-m973-pr9r-hp2w
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 43%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm @theia/ai-chat-ui 1.71.0
- npm @theia/ai-chat 1.71.0
- npm @theia/ai-claude-code 1.71.0
- npm @theia/ai-code-completion 1.71.0
- npm @theia/ai-core 1.71.0
- npm @theia/ai-editor 1.71.0
- Eclipse Foundation Eclipse Theia 1.71.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.51% chance of exploitation in the next 30 days, higher than 43% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @theia/ai-chat-ui | <1.71.0 |
1.71.0 |
| npm | @theia/ai-chat | <1.71.0 |
1.71.0 |
| npm | @theia/ai-claude-code | <1.71.0 |
1.71.0 |
| npm | @theia/ai-code-completion | <1.71.0 |
1.71.0 |
| npm | @theia/ai-core | <1.71.0 |
1.71.0 |
| npm | @theia/ai-editor | <1.71.0 |
1.71.0 |
Affected products
- Eclipse Foundation Eclipse Theia
Classification
References
-
gitlab.eclipse.org
/security/cve-assignment/-/work_items/114
web, vendor-advisory, patch
-
github.com
/eclipse-theia/theia/pull/17364
web
-
github.com
/eclipse-theia/theia/commit/e3fdfe6992389bc5fa611058d00c39d7408508ed
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-46580
advisory
-
github.com
/eclipse-theia/theia/issues/16892
web
-
github.com
/eclipse-theia/theia
package
Sources
- CVE List CVE-2026-46580
- GitHub Advisory GHSA-m973-pr9r-hp2w
- NVD CVE-2026-46580
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.