{"cve":"CVE-2026-46580","nvd":{"published":"2026-06-18T16:16:54.213","modified":"2026-10-26T11:10:00.157","status":"Analyzed","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_v4":{"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","score":8.4},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8},"cwes":["CWE-829"],"references":["https://gitlab.eclipse.org/security/cve-assignment/-/work_items/114"],"products":["eclipse:theia"],"source":"nvd","synced_at":"2026-10-26T11:33:08.859761529+00:00"},"epss":{"cve":"CVE-2026-46580","score":0.00507,"percentile":0.42986,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-m973-pr9r-hp2w","url":"https://osv.dev/vulnerability/GHSA-m973-pr9r-hp2w","summary":"[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat","modified":"2026-09-10T03:51:09.037457658Z","packages":[{"ecosystem":"npm","name":"@theia/ai-chat-ui","purl":"pkg:npm/%40theia/ai-chat-ui","ranges":["<1.71.0"],"fixed":["1.71.0"]},{"ecosystem":"npm","name":"@theia/ai-chat","purl":"pkg:npm/%40theia/ai-chat","ranges":["<1.71.0"],"fixed":["1.71.0"]},{"ecosystem":"npm","name":"@theia/ai-claude-code","purl":"pkg:npm/%40theia/ai-claude-code","ranges":["<1.71.0"],"fixed":["1.71.0"]},{"ecosystem":"npm","name":"@theia/ai-code-completion","purl":"pkg:npm/%40theia/ai-code-completion","ranges":["<1.71.0"],"fixed":["1.71.0"]},{"ecosystem":"npm","name":"@theia/ai-core","purl":"pkg:npm/%40theia/ai-core","ranges":["<1.71.0"],"fixed":["1.71.0"]},{"ecosystem":"npm","name":"@theia/ai-editor","purl":"pkg:npm/%40theia/ai-editor","ranges":["<1.71.0"],"fixed":["1.71.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}