{"answers":{"affected":"14 open source packages ship an affected version, including @theia/ai-chat, @theia/ai-chat-ui and @theia/ai-claude-code. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-44688 in the wild and no public exploit code.","fix":"Upgrade @theia/ai-chat to 1.71.0 or later.","what":"CVE-2026-44688 is a high-severity code injection vulnerability in Eclipse Theia, published on 18 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-44688 and fix it if it is affected.\n\nWhat it is: CVE-2026-44688 is a high-severity code injection vulnerability in Eclipse Theia, published on 18 Jun 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-44688 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @theia/ai-chat (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-chat (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-chat-ui (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-chat-ui (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-claude-code (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-claude-code (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-code-completion (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-code-completion (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-core (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-core (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-editor (npm): affected all versions; fixed in 1.71.0\n- @theia/ai-editor (npm): affected all versions; fixed in 1.71.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-44688/ (Markdown: https://insights.sbomify.com/CVE-2026-44688/index.md)","id":"CVE-2026-44688","markdown":"https://insights.sbomify.com/CVE-2026-44688/index.md","name":"CVE-2026-44688","record":{"aliases":["GHSA-3jww-hxqj-wfq2"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Eclipse Theia IDE","requires_auth":"none","summary":"Attackers can execute arbitrary code or exfiltrate data by crafting malicious file names that trigger indirect prompt injection in the AI chat agent.","user_interaction":"required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"theia","vendor":"eclipse"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"},{"id":"CWE-1427","name":"Improper Neutralization of Input Used for LLM Prompting"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"[Eclipse Theia] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat","id":"CVE-2026-44688","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":14,"n_references":1,"next":{"headline":"Cross-zone wildcard cache poisoning via RRSIG.labels manipulation","id":"CVE-2026-44690"},"packages":[{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat","purl":"pkg:npm/%40theia/ai-chat","source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat-ui","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat-ui","purl":"pkg:npm/%40theia/ai-chat-ui","source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-claude-code","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-claude-code","purl":"pkg:npm/%40theia/ai-claude-code","source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-code-completion","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-code-completion","purl":"pkg:npm/%40theia/ai-code-completion","source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-core","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-core","purl":"pkg:npm/%40theia/ai-core","source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-editor","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-editor","purl":"pkg:npm/%40theia/ai-editor","source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-ide","purl":null,"source":"GHSA-3jww-hxqj-wfq2"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-ide","purl":"pkg:npm/%40theia/ai-ide","source":"GHSA-3jww-hxqj-wfq2"}],"prev":{"headline":"Off-by-one error in 'harden-below-nxdomain' logic can shadow a stub/forward zone by a legitimate parent's NXDOMAIN","id":"CVE-2026-44687"},"products":["Eclipse Theia"],"published":"2026-06-18","related":[{"cvss_score":9.8,"headline":"XML external entity in Eclipse Theia","id":"CVE-2021-34436","kev_date_added":null,"published":"2021-09-02"},{"cvss_score":9.6,"headline":"Cross-site Scripting (XSS) in Eclipse Theia","id":"CVE-2020-27224","kev_date_added":null,"published":"2021-02-24"},{"cvss_score":8.8,"headline":"File upload in Eclipse Theia","id":"CVE-2026-60009","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":8.8,"headline":"Remote code execution in Eclipse Theia","id":"CVE-2021-34435","kev_date_added":null,"published":"2021-09-01"},{"cvss_score":8.4,"headline":"[Eclipse Theia] Arbitrary Command Execution via Untrusted Workspace Task Definitions","id":"CVE-2026-44691","kev_date_added":null,"published":"2026-06-18"},{"cvss_score":8.4,"headline":"[Eclipse Theia] Indirect Prompt Injection via Auto-Loaded Workspace Prompt Template Files in AI Chat","id":"CVE-2026-46580","kev_date_added":null,"published":"2026-06-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-19","vendors":["Eclipse Foundation"]},"summary":"Attackers can execute arbitrary code or exfiltrate data by crafting malicious file names that trigger indirect prompt injection in the AI chat agent.","url":"https://insights.sbomify.com/CVE-2026-44688/"}