CVE-2026-46580: In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a…
- Occurred
- Jun 18, 2026
- Published
- Jun 18, 2026
- Source
- NVD CVE
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.
Tags
- CVE
- CVE-2026-46580
- cvss:HIGH
- agent-fail:injection-indirect
- agent-cause:missing-guardrail
Classification
Rationale: Malicious prompt templates in workspace files enabled indirect prompt injection leading to data exfiltration and command execution.
Classifier: Qwen/Qwen3.5-35B-A3B-FP8