CVE-2026-46580
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 …
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben 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 |
Betroffene Produkte · Eclipse
| Produkt | Betroffene Versionen |
|---|---|
| Theia | vor 1.71.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/advisories/GHSA-m973-pr9r-hp2w
- https://nvd.nist.gov/vuln/detail/CVE-2026-46580
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/114
- https://github.com/eclipse-theia/theia/issues/16892
- https://github.com/eclipse-theia/theia/pull/17364
- https://github.com/eclipse-theia/theia/commit/e3fdfe6992389bc5fa611058d00c39d7408508ed