CVE-2026-46580HIGHCVSS 0.0

[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat

Published Jun 18, 2026·Updated Jun 19, 2026

Description

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 (6)

@theia/ai-chatNPM
Fixed in 1.71.0
@theia/ai-chat-uiNPM
Fixed in 1.71.0
@theia/ai-code-completionNPM
Fixed in 1.71.0
@theia/ai-claude-codeNPM
Fixed in 1.71.0
@theia/ai-editorNPM
Fixed in 1.71.0
@theia/ai-coreNPM
Fixed in 1.71.0

References

View on NVD Search GitHub Search Google

Get alerted for CVEs like this

Register your stack and get notified within minutes when a matching CVE drops.

Start monitoring free