← back
CVE-2026-46580highCWE-1427CWE-829

CVE-2026-46580

21Vexday Risk Score

No sign of exploitation. No public exploitation artifact known so far.

ssvc Trackcvss 8.4epss 0.5%
exploitation probability
0.5%top 59% of all CVEs
observed exploitation
nono source reports it
In short

Eclipse Theia automatically loaded AI prompt template files from workspaces, allowing attackers to inject malicious instructions into the AI agent. This could lead to data theft or command execution when users opened untrusted repositories.

Technical detail

CWE-1427 (Uncontrolled Search Path) and CWE-829 (Inclusion of Functionality from Untrusted Control Sphere): Theia versions <1.71.0 automatically loaded .prompts/*.prompttemplate files without validation, enabling indirect prompt injection. Attack vector: local file inclusion from workspace; requires user to open malicious repository in Theia. Impact: compromise of AI agent behavior leading to data exfiltration or command execution via task definitions.

Summary generated and translated by AI from the official 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:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N