CVE-2026-22551: @theia/ai chat ui [Eclipse Theia] Data Exfiltration Vulnerability
MODERATECVE-2026-22551 is a MODERATE [eclipse theia] data exfiltration vulnerability (CWE-201: Insertion of Sensitive Information Into Sent Data) affecting @theia/ai chat ui libraries in the npm ecosystem. The issue involves [eclipse theia] data exfiltration via markdown image rendering in ai chat. Remediation is available by upgrading affected packages to version 1.71.0.
CVE-2026-22551 at a Glance
How to Fix CVE-2026-22551
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.
npm install @theia/ai-chat-ui@1.71.0
npm install @theia/ai-chat@1.71.0
npm install @theia/ai-claude-code@1.71.0
npm install @theia/ai-code-completion@1.71.0
npm install @theia/ai-core@1.71.0
npm install @theia/ai-editor@1.71.0
npm install @theia/ai-ide@1.71.0
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-22551, 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-201: Insertion of Sensitive Information Into Sent Data, where the code transmits data to another actor, but a portion of the data includes sensitive information that should not be accessible to that actor. 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
CVE-2026-22551 Affected @theia/ai chat ui Versions
7 component(s)| 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-22551?
Which @theia/ai chat ui versions are affected?
What version fixes CVE-2026-22551?
Is @theia/ai-chat-ui affected?
Is @theia/ai-chat affected?
What CWE is associated with CVE-2026-22551?
How can I check npm dependencies for CVE-2026-22551?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qwjm-9c66-w4q4",
"modified" : "2026-06-19T19:19:23Z",
"published" : "2026-06-18T18:35:22Z",
"aliases" : [ "CVE-2026-22551" ],
"summary" : "[Eclipse Theia] Data Exfiltration via Markdown Image Rendering in AI Chat",
"details" : "In Eclipse Theia versions prior to 1.71.0, the AI chat rendered Markdown image tags from AI responses, triggering HTTP requests to arbitrary external URLs without restriction. Combined with prompt injection in a malicious workspace, an attacker could induce the AI agent to construct image URLs encoding sensitive information from the workspace or conversation context, exfiltrating it to attacker-controlled servers. The workspace trust enforcement introduced in v1.71.0 mitigates the documented attack chain by disabling AI features in untrusted workspaces.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/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-22551"
}, {
"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/115"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-201" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-19T19:19:22Z",
"nvd_published_at" : "2026-06-18T16:16:52Z"
}
}