@theia/ai-chat-ui
Affected
- introduced
0, fixed1.71.0(semver)
Fixed versions
1.71.0
Fix
- Fixed version
1.71.0npm install @theia/[email protected]
Advisory
Also known as: CVE-2026-46580
[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.
High Basis: The source's own band: HIGH
0, fixed 1.71.0 (semver)1.71.0
1.71.0npm install @theia/[email protected]0, fixed 1.71.0 (semver)1.71.0
1.71.0npm install @theia/[email protected]0, fixed 1.71.0 (semver)1.71.0
1.71.0npm install @theia/[email protected]0, fixed 1.71.0 (semver)1.71.0
1.71.0npm install @theia/[email protected]0, fixed 1.71.0 (semver)1.71.0
1.71.0npm install @theia/[email protected]0, fixed 1.71.0 (semver)1.71.0
1.71.0npm install @theia/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0