Unsafe Dependency Resolution Affecting @theia/ai-ide package, versions <1.71.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.27% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-THEIAAIIDE-17391850
  • published21 Jun 2026
  • disclosed18 Jun 2026
  • creditPiotr Ryciak

Introduced: 18 Jun 2026

NewCVE-2026-46580  (opens in a new tab)
CWE-829  (opens in a new tab)

How to fix?

Upgrade @theia/ai-ide to version 1.71.0 or higher.

Overview

@theia/ai-ide is an AI IDE Agents Extension

Affected versions of this package are vulnerable to Unsafe Dependency Resolution via the automatic loading of .prompts/*.prompttemplate files in a workspace. An attacker can manipulate the AI agent's system instructions by introducing crafted prompt template files, potentially leading to data exfiltration through Markdown image rendering or arbitrary command execution via task definitions when a malicious workspace is opened.

CVSS Base Scores

version 4.0
version 3.1