CVE-2026-44688: @theia/ai chat ui [Eclipse Theia] Indirect Prompt Injection Vulnerability

HIGH
Advisory Identifier: GHSA-3jww-hxqj-wfq2
CWE-829
Published
Advisory Summary

CVE-2026-44688 is a HIGH [eclipse theia] indirect prompt injection vulnerability (CWE-829: Inclusion of Functionality from Untrusted Control Sphere) affecting @theia/ai chat ui libraries in the npm ecosystem. The issue involves [eclipse theia] indirect prompt injection via adversarial workspace file and directory names in ai chat. Remediation is available by upgrading affected packages to version 1.71.0.

CVE-2026-44688 at a Glance

CVE Identifier CVE-2026-44688
GHSA Identifier GHSA-3jww-hxqj-wfq2
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-829: Inclusion of Functionality from Untrusted Control Sphere
Affected Product @theia/ai chat ui
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-44688

To remediate this vulnerability, upgrade all affected @theia/ai chat ui dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@theia/ai-chat-ui fixed: 1.71.0
npm install @theia/ai-chat-ui@1.71.0
@theia/ai-chat fixed: 1.71.0
npm install @theia/ai-chat@1.71.0
@theia/ai-claude-code fixed: 1.71.0
npm install @theia/ai-claude-code@1.71.0
@theia/ai-code-completion fixed: 1.71.0
npm install @theia/ai-code-completion@1.71.0
@theia/ai-core fixed: 1.71.0
npm install @theia/ai-core@1.71.0
@theia/ai-editor fixed: 1.71.0
npm install @theia/ai-editor@1.71.0
@theia/ai-ide fixed: 1.71.0
npm install @theia/ai-ide@1.71.0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @theia/ai-chat-ui

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-44688, inspect your project dependencies using npm:

npm ls @theia/ai-chat-ui

Analyze the terminal output to locate any version of @theia/ai chat ui in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.71.0), your application is affected.

Note: The npm ls @theia/ai-chat-ui command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-829: Inclusion of Functionality from Untrusted Control Sphere, where the product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere. In @theia/ai chat ui, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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.

CVE-2026-44688 Affected @theia/ai chat ui Versions

7 component(s)
Fixed Versions:
1.71.0
Product / Package Ecosystem Affected Versions Fixed Version
@theia/ai-chat-ui
npm
< 1.71.0
1.71.0
@theia/ai-chat
npm
< 1.71.0
1.71.0
@theia/ai-claude-code
npm
< 1.71.0
1.71.0
@theia/ai-code-completion
npm
< 1.71.0
1.71.0
@theia/ai-core
npm
< 1.71.0
1.71.0
@theia/ai-editor
npm
< 1.71.0
1.71.0
@theia/ai-ide
npm
< 1.71.0
1.71.0

References

Frequently Asked Questions

What is CVE-2026-44688?
CVE-2026-44688 is a security vulnerability in @theia/ai chat ui involving [Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat under CWE-829: Inclusion of Functionality from Untrusted Control Sphere.
Which @theia/ai chat ui versions are affected?
Affected versions include releases prior to 1.71.0 across affected 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.
What version fixes CVE-2026-44688?
Upgrading to 1.71.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @theia/ai-chat-ui affected?
Yes, @theia/ai-chat-ui is affected in releases prior to 1.71.0. Upgrade your dependency to 1.71.0 or later.
Is @theia/ai-chat affected?
Yes, @theia/ai-chat is affected in releases prior to 1.71.0. Upgrade your dependency to 1.71.0 or later.
What CWE is associated with CVE-2026-44688?
CVE-2026-44688 is classified under CWE-829: Inclusion of Functionality from Untrusted Control Sphere (The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.).
How can I check npm dependencies for CVE-2026-44688?
Run the dependency tree command: 'npm ls @theia/ai-chat-ui'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3jww-hxqj-wfq2",
  "modified" : "2026-06-19T19:19:50Z",
  "published" : "2026-06-18T18:35:22Z",
  "aliases" : [ "CVE-2026-44688" ],
  "summary" : "[Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat",
  "details" : "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.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-chat-ui"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-chat"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-claude-code"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-code-completion"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-editor"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@theia/ai-ide"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.71.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-44688"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-theia/theia/issues/16892"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-theia/theia/pull/17364"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/eclipse-theia/theia/commit/e3fdfe6992389bc5fa611058d00c39d7408508ed"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/eclipse-theia/theia"
  }, {
    "type" : "WEB",
    "url" : "https://gitlab.eclipse.org/security/cve-assignment/-/work_items/113"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-829" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-06-19T19:19:50Z",
    "nvd_published_at" : "2026-06-18T16:16:53Z"
  }
}