cve.bz

CVE-2026-46580

8.4 highEPSS 0.5%

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
8.4CVSS: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 3.1
8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.5% chance of exploitation in the next 30 days; higher than 42% of CVEs (scores of 2026-10-25)
CWE
CWE-829
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m973-pr9r-hp2wnpm@theia/ai-chat-ui<1.71.01.71.0
GHSA-m973-pr9r-hp2wnpm@theia/ai-chat<1.71.01.71.0
GHSA-m973-pr9r-hp2wnpm@theia/ai-claude-code<1.71.01.71.0
GHSA-m973-pr9r-hp2wnpm@theia/ai-code-completion<1.71.01.71.0
GHSA-m973-pr9r-hp2wnpm@theia/ai-core<1.71.01.71.0
GHSA-m973-pr9r-hp2wnpm@theia/ai-editor<1.71.01.71.0

References

Check your stackJSON