Vulnerability · Published Jun 18, 2026 · Assigned by eclipse

CVE-2026-46580

High 8.4

In plain English

A high-severity security flaw in Eclipse Theia from Eclipse Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.4High
Exploit odds (30 days)0.5%top 56.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npm@theia/ai-chat1.71.0GHSA-m973-pr9r-hp2w
npm@theia/ai-chat-ui1.71.0GHSA-m973-pr9r-hp2w
npm@theia/ai-claude-code1.71.0GHSA-m973-pr9r-hp2w
npm@theia/ai-code-completion1.71.0GHSA-m973-pr9r-hp2w
npm@theia/ai-core1.71.0GHSA-m973-pr9r-hp2w
npm@theia/ai-editor1.71.0GHSA-m973-pr9r-hp2w

Affected products (as reported)

VendorProductVersions
Eclipse Foundation Eclipse Theia 0 – before 1.71.0

Weakness: CWE-829, CWE-1427 · 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

References