@theia/ai-ide@1.75.0-next.35

AI IDE Agents Extension

Direct Vulnerabilities

Known vulnerabilities in the @theia/ai-ide package. This does not include vulnerabilities belonging to this package’s dependencies.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable Version
  • H
Directory Traversal

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

Affected versions of this package are vulnerable to Directory Traversal through the AI Agent Mode file-change tools in the workspace path resolution code. An attacker can write or delete files outside the workspace by supplying a crafted relative path such as ../.bashrc, an absolute path, or a file:///~-expanded path to writeFileContent, suggestFileContent, or the related replacement and state helpers. Because these tools run in Agent Mode without a confirmation dialog, the backend OS user can be tricked into modifying host files like shell startup files or ~/.ssh/authorized_keys. That can lead to arbitrary code execution on the backend and changes to user files outside the intended workspace.

How to fix Directory Traversal?

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

>=1.73.0 <1.75.0