GHSA-3jww-hxqj-wfq2

Suggest an improvement
Source
https://github.com/advisories/GHSA-3jww-hxqj-wfq2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3jww-hxqj-wfq2
Aliases
Published
2026-06-18T18:35:22Z
Modified
2026-09-10T03:50:55Z
Severity
  • 8.4 (High) CVSS_V4 - 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 CVSS Calculator
Summary
[Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat
Details

In Eclipse Theia versions prior to 1.71.0, the AI chat agent processed workspace file and directory names as part of its prompt context without distinguishing them from system instructions. An attacker could craft a malicious repository with adversarial directory or file names that, when analyzed by the AI agent, would cause the agent to follow attacker-controlled instructions (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.

Database specific
{
    "cwe_ids":  [
        "CWE-829"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-06-19T19:19:50Z",
    "nvd_published_at":  "2026-06-18T16:16:53Z",
    "severity":  "HIGH"
}
References

Affected packages

npm
@theia/ai-chat-ui

Package

Name
@theia/ai-chat-ui
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-chat-ui

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"
@theia/ai-chat

Package

Name
@theia/ai-chat
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-chat

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"
@theia/ai-claude-code

Package

Name
@theia/ai-claude-code
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-claude-code

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"
@theia/ai-code-completion

Package

Name
@theia/ai-code-completion
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-code-completion

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"
@theia/ai-core

Package

Name
@theia/ai-core
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-core

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"
@theia/ai-editor

Package

Name
@theia/ai-editor
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-editor

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"
@theia/ai-ide

Package

Name
@theia/ai-ide
View open source insights on deps.dev
Purl
pkg:npm/%40theia/ai-ide

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.71.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-3jww-hxqj-wfq2/GHSA-3jww-hxqj-wfq2.json"