Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Eclipse | Theia | < 1.71.0 |
Related Weaknesses (CWE)
References
- https://gitlab.eclipse.org/security/cve-assignment/-/work_items/114Vendor AdvisoryPatch
FAQ
What is CVE-2026-46580?
CVE-2026-46580 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 ...
How severe is CVE-2026-46580?
CVE-2026-46580 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-46580?
Check the references section above for vendor advisories and patch information. Affected products include: Eclipse Theia.