Skip to content
OpenAdvisories
High · 8.4 CVE-2026-44688 EUVD-2026-37898GHSA-3jww-hxqj-wfq2

[Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat

Published Jun 18, 2026 · Updated Jun 19, 2026 · Assigned by eclipse

Description

In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (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 products

VendorProductAffectedFixed
Eclipse Foundation Eclipse Theia < 1.71.0 1.71.0

Affected packages

EcosystemPackageAffectedFixedRecord
npm @theia/ai-chat < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2
npm @theia/ai-chat-ui < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2
npm @theia/ai-claude-code < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2
npm @theia/ai-code-completion < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2
npm @theia/ai-core < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2
npm @theia/ai-editor < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2
npm @theia/ai-ide < 1.71.0 1.71.0 GHSA-3jww-hxqj-wfq2

References