GitHub Advisoryadvisory · npm

GHSA-3jww-hxqj-wfq2 [Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat

HIGH Published 2026-06-18 Modified 2026-06-19 Official page ↗
Aliases
CVE-2026-44688
Ecosystem
npm
Packages
@theia/ai-chat-ui, @theia/ai-chat, @theia/ai-claude-code, @theia/ai-code-completion, @theia/ai-core, @theia/ai-editor, @theia/ai-ide
Severity
High
CVSS 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
Weaknesses
CWE-829
Reviewed
2026-06-19

Affected packages

• npm @theia/ai-chat-ui: < 1.71.0 → fixed in 1.71.0 • npm @theia/ai-chat: < 1.71.0 → fixed in 1.71.0 • npm @theia/ai-claude-code: < 1.71.0 → fixed in 1.71.0 • npm @theia/ai-code-completion: < 1.71.0 → fixed in 1.71.0 • npm @theia/ai-core: < 1.71.0 → fixed in 1.71.0 • npm @theia/ai-editor: < 1.71.0 → fixed in 1.71.0 • npm @theia/ai-ide: < 1.71.0 → fixed in 1.71.0

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.

Related

Alias · CVE (1)

  • CVE-2026-44688 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… vulnerability

Weakness · CWE (1)

  • CWE-829 Inclusion of Functionality from Untrusted Control Sphere weakness

References