{"id":"CVE-2026-46580","published":"2026-06-18T14:26:59Z","modified":"2026-06-19T03:55:46Z","title":"In Eclipse Theia versions prior to 1.71.0, files matching the pattern .prompts/*.prompttemplate in a workspace were…","vendor":"Eclipse Foundation","product":"Eclipse Theia","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.4,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.44183,"provenance":"source"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"},{"id":"CWE-1427","name":"Improper Neutralization of Input Used for LLM Prompting"}],"references":[{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/114","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":8.84},{"name":"CVSS severity","points":5.88}]},"vendorSlug":"eclipse-foundation","affectedVersions":[{"vendor":"Eclipse Foundation","product":"Eclipse Theia","versions":["< 1.71.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-06-18T00:00:00+00:00","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@theia/ai-chat-ui","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-m973-pr9r-hp2w"],"provenance":"source"},{"ecosystem":"npm","package":"@theia/ai-chat","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-m973-pr9r-hp2w"],"provenance":"source"},{"ecosystem":"npm","package":"@theia/ai-claude-code","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-m973-pr9r-hp2w"],"provenance":"source"},{"ecosystem":"npm","package":"@theia/ai-code-completion","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-m973-pr9r-hp2w"],"provenance":"source"},{"ecosystem":"npm","package":"@theia/ai-core","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-m973-pr9r-hp2w"],"provenance":"source"},{"ecosystem":"npm","package":"@theia/ai-editor","vulnerableRanges":["<1.71.0"],"patched":["1.71.0"],"from":["GHSA-m973-pr9r-hp2w"],"provenance":"source"}],"summary":{"text":"In Eclipse Theia versions prior to 1.71.0, files matching .prompts/*.prompttemplate in a workspace are automatically loaded and can override or extend the AI agent's system prompts. An attacker can supply a malicious repository whose prompt template files replace the AI's system instructions when the workspace is opened, which requires local access and user interaction, and can be chained with other AI chat features to exfiltrate data or execute arbitrary commands.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:47Z"},"euvd":{"id":"EUVD-2026-37899","exploited":false,"provenance":"source"}}