CVE-2026-46580 PUBLISHED

Assigner: eclipse
Reserved: 22.05.2026 Published: 18.06.2026 Updated: 18.06.2026

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.

Metrics

CVSS 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
CVSS Score: 8.4

Product Status

Vendor Eclipse Foundation
Product Eclipse Theia
Versions Default: unaffected
  • affected from 0 to 1.71.0 (excl.)

Credits

  • Piotr Ryciak (https://gitlab.eclipse.org/void01) finder

References

Problem Types

  • CWE-829: Inclusion of Functionality from Untrusted Control Sphere CWE
  • CWE-1427: Improper Neutralization of Input Used for LLM Prompting CWE