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.
{
"binaries": [
{
"binary_name": "eclipse",
"binary_version": "3.8.1-8"
},
{
"binary_name": "eclipse-jdt",
"binary_version": "3.8.1-8"
},
{
"binary_name": "eclipse-pde",
"binary_version": "3.8.1-8"
},
{
"binary_name": "eclipse-platform",
"binary_version": "3.8.1-8"
},
{
"binary_name": "eclipse-platform-data",
"binary_version": "3.8.1-8"
},
{
"binary_name": "eclipse-rcp",
"binary_version": "3.8.1-8"
},
{
"binary_name": "libequinox-osgi-java",
"binary_version": "3.8.1-8"
}
]
}
{
"binaries": [
{
"binary_name": "eclipse",
"binary_version": "3.8.1-11"
},
{
"binary_name": "eclipse-jdt",
"binary_version": "3.8.1-11"
},
{
"binary_name": "eclipse-pde",
"binary_version": "3.8.1-11"
},
{
"binary_name": "eclipse-platform",
"binary_version": "3.8.1-11"
},
{
"binary_name": "eclipse-platform-data",
"binary_version": "3.8.1-11"
},
{
"binary_name": "eclipse-rcp",
"binary_version": "3.8.1-11"
}
]
}