SCA: security update for @theia/ai-chat, @theia/ai-chat-ui, @theia/ai-claude-code, @theia/ai-code-completion, @theia/ai-core, @theia/ai-editor, @theia/ai-ide (GHSA-qwjm-9c66-w4q4)

medium Tenable Cloud Security Plugin ID 443632

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-22551)

Solution

Update the @theia/ai-chat library and its related packages to version 1.71.0 or later.

See Also

https://github.com/advisories/GHSA-qwjm-9c66-w4q4

Plugin Details

Severity: Medium

ID: 443632

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/20/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.73

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:N/A:N

CVSS Score Source: CVE-2026-22551

CVSS v3

Risk Factor: Medium

Base Score: 6.5

Temporal Score: 5.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.7

Threat Score: 4

Threat Vector: CVSS:4.0/E:U

Vector: 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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/18/2026

Vulnerability Publication Date: 6/18/2026

Reference Information

CVE: CVE-2026-22551

cwe: CWE-201