CVE-2026-46580
Published:June 18, 2026
Updated:August 04, 2026
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.
Affected Packages
@theia/ai-editor (NPM):
Affected version(s) >=0.0.1 <1.71.0Fix Suggestion:
Update to version 1.71.0@theia/ai-core (NPM):
Affected version(s) >=1.46.0-next.241 <1.71.0Fix Suggestion:
Update to version 1.71.0@theia/ai-claude-code (NPM):
Affected version(s) >=1.65.0 <1.71.0Fix Suggestion:
Update to version 1.71.0@theia/ai-chat-ui (NPM):
Affected version(s) >=1.46.0-next.241 <1.71.0Fix Suggestion:
Update to version 1.71.0@theia/ai-chat (NPM):
Affected version(s) >=1.46.0-next.241 <1.71.0Fix Suggestion:
Update to version 1.71.0@theia/ai-code-completion (NPM):
Affected version(s) >=1.46.0-next.241 <1.71.0Fix Suggestion:
Update to version 1.71.0Related Resources (6)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.4
Attack Vector
LOCAL
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
ACTIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.8
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
0.51