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 (GHSA-m973-pr9r-hp2w)

high Tenable Cloud Security Plugin ID 443631

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, files matching the pattern .prompts/*.prompttemplate in a
workspace were automatically loaded and could override or extend the AI agent's system prompts. An
attacker could craft a malicious repository containing prompt template files that, when the workspace was
opened in Theia, replaced the AI's system instructions with attacker-controlled content (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-46580)

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-m973-pr9r-hp2w

Plugin Details

Severity: High

ID: 443631

Version: Revision 1.6

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

Score: 4.9

Percentile: 57.97

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-46580

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

CVSS v4

Risk Factor: High

Base Score: 8.4

Threat Score: 5.7

Threat Vector: CVSS:4.0/E:U

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

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-46580

cwe: CWE-829