---
id: CVE-2026-44688
title: >-
  [Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and
  Directory Names in AI Chat
summary: >-
  [Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and
  Directory Names in AI Chat
severity: high
cwe:
  - CWE-829
vendor: theia
product: '@theia/ai-chat-ui'
ecosystem: npm
affected:
  - '@theia/ai-chat-ui < 1.71.0'
  - '@theia/ai-chat < 1.71.0'
  - '@theia/ai-claude-code < 1.71.0'
  - '@theia/ai-code-completion < 1.71.0'
  - '@theia/ai-core < 1.71.0'
  - '@theia/ai-editor < 1.71.0'
  - '@theia/ai-ide < 1.71.0'
patched:
  - '@theia/ai-chat-ui 1.71.0'
  - '@theia/ai-chat 1.71.0'
  - '@theia/ai-claude-code 1.71.0'
  - '@theia/ai-code-completion 1.71.0'
  - '@theia/ai-core 1.71.0'
  - '@theia/ai-editor 1.71.0'
  - '@theia/ai-ide 1.71.0'
published: '2026-06-18'
updated: '2026-06-19'
source: GHSA
sourceUrl: 'https://github.com/advisories/GHSA-3jww-hxqj-wfq2'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-44688'
  - url: 'https://gitlab.eclipse.org/security/cve-assignment/-/work_items/113'
  - url: 'https://github.com/eclipse-theia/theia/issues/16892'
  - url: 'https://github.com/eclipse-theia/theia/pull/17364'
  - url: >-
      https://github.com/eclipse-theia/theia/commit/e3fdfe6992389bc5fa611058d00c39d7408508ed
  - url: 'https://github.com/advisories/GHSA-3jww-hxqj-wfq2'
tags:
  - ghsa
  - npm
epss: 0.00507
epssPercentile: 0.40739
ingestedAt: '2026-06-29T14:31:46.943Z'
---

## Overview

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 packages

- `@theia/ai-chat-ui < 1.71.0`
- `@theia/ai-chat < 1.71.0`
- `@theia/ai-claude-code < 1.71.0`
- `@theia/ai-code-completion < 1.71.0`
- `@theia/ai-core < 1.71.0`
- `@theia/ai-editor < 1.71.0`
- `@theia/ai-ide < 1.71.0`

## Remediation

Upgrade to a patched release:

- `@theia/ai-chat-ui 1.71.0`
- `@theia/ai-chat 1.71.0`
- `@theia/ai-claude-code 1.71.0`
- `@theia/ai-code-completion 1.71.0`
- `@theia/ai-core 1.71.0`
- `@theia/ai-editor 1.71.0`
- `@theia/ai-ide 1.71.0`
