CVE-2026-46580: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in Eclipse Foundation Eclipse Theia
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.
AI Analysis
Technical Summary
CVE-2026-46580 affects Eclipse Theia versions before 1.71.0, where files named .prompts/*.prompttemplate in a workspace are automatically loaded and can override or extend AI system prompts. An attacker can supply a malicious repository containing such prompt template files, causing the AI agent's system instructions to be replaced with attacker-controlled content. This indirect prompt injection, combined with other AI chat features in untrusted workspaces, can lead to attack chains resulting in data exfiltration via Markdown image rendering or arbitrary command execution via task definitions. The vulnerability is classified under CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) and CWE-1427.
Potential Impact
The vulnerability allows attackers to inject malicious prompt templates into the AI agent's system instructions, potentially leading to unauthorized data exfiltration and arbitrary command execution within the Eclipse Theia environment. This can compromise the confidentiality and integrity of data and system operations when opening untrusted workspaces containing crafted repositories.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid opening untrusted workspaces containing .prompts/*.prompttemplate files in Eclipse Theia versions prior to 1.71.0. Monitor vendor communications for updates on patches or official mitigations.
CVE-2026-46580: CWE-829: Inclusion of Functionality from Untrusted Control Sphere in Eclipse Foundation Eclipse Theia
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.0
Score 8.4high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-46580 affects Eclipse Theia versions before 1.71.0, where files named .prompts/*.prompttemplate in a workspace are automatically loaded and can override or extend AI system prompts. An attacker can supply a malicious repository containing such prompt template files, causing the AI agent's system instructions to be replaced with attacker-controlled content. This indirect prompt injection, combined with other AI chat features in untrusted workspaces, can lead to attack chains resulting in data exfiltration via Markdown image rendering or arbitrary command execution via task definitions. The vulnerability is classified under CWE-829 (Inclusion of Functionality from Untrusted Control Sphere) and CWE-1427.
Potential Impact
The vulnerability allows attackers to inject malicious prompt templates into the AI agent's system instructions, potentially leading to unauthorized data exfiltration and arbitrary command execution within the Eclipse Theia environment. This can compromise the confidentiality and integrity of data and system operations when opening untrusted workspaces containing crafted repositories.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid opening untrusted workspaces containing .prompts/*.prompttemplate files in Eclipse Theia versions prior to 1.71.0. Monitor vendor communications for updates on patches or official mitigations.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- eclipse
- Date Reserved
- 2026-05-22T07:47:58.202Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a340cacf198dc38c1059184
Added to database: 6/18/2026, 3:20:12 PM
Last enriched: 6/18/2026, 3:35:57 PM
Last updated: 6/18/2026, 6:16:47 PM
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.