VDB
Sign up
HIGH

GHSA-g9jw-92q7-g7fj

[Eclipse Theia] Arbitrary Command Execution via Untrusted Workspace Task Definitions

Quick fix

GHSA-g9jw-92q7-g7fj — @theia/debug: upgrade to the fixed version with the command below.

npm install @theia/debug@1.69.0

Details

In Eclipse Theia versions prior to 1.69.0, custom task definitions in workspace files (e.g. .theia/tasks.json, .vscode/tasks.json) could be executed without requiring workspace trust. An attacker could craft a malicious repository that, when cloned and opened in Theia, leads to execution of arbitrary commands with the user's privileges. In combination with AI chat features and a workspace .theia/settings.json that disabled tool confirmation, this could be triggered automatically by sending a message in the AI chat.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@theia/debug
Introduced in: 0Fixed in: 1.69.0
Fixnpm install @theia/debug@1.69.0
npm/@theia/task
Introduced in: 0Fixed in: 1.69.0
Fixnpm install @theia/task@1.69.0
npm/@theia/workspace
Introduced in: 0Fixed in: 1.69.0
Fixnpm install @theia/workspace@1.69.0

References