Security mailing lists by PureSourceCode

CVE-2026-46580

HIGH 8.4CVSS 4.0

[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat

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.

Published
18 Jun 2026
Last modified
26 Oct 2026
Assigned by
emo@eclipse.org
NVD status
Analyzed
Weakness
CWE-829
Also known as
GHSA-m973-pr9r-hp2w
Sources
NVDJSONOSV GHSA-m973-pr9r-hp2wJSON

Scores

SourceScored byVersionScoreVector / decision
NVD emo@eclipse.org (Secondary) CVSS 4.0 HIGH 8.4 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD eclipse theia
cpe:2.3:a:eclipse:theia:*:*:*:*:*:*:*:*
< 1.71.0 1.71.0
OSV npm @theia/ai-chat-ui < 1.71.0 1.71.0
OSV npm @theia/ai-chat < 1.71.0 1.71.0
OSV npm @theia/ai-claude-code < 1.71.0 1.71.0
OSV npm @theia/ai-code-completion < 1.71.0 1.71.0
OSV npm @theia/ai-core < 1.71.0 1.71.0
OSV npm @theia/ai-editor < 1.71.0 1.71.0

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 18 Jun 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 18 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.