{"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-22551 in the wild and no public exploit code.","fix":"Upgrade @theia/ai-chat to 1.71.0 or later.","what":"CVE-2026-22551 is a medium-severity vulnerability in Eclipse Theia, published on 18 Jun 2026."},"fix_prompt":"Check this codebase for CVE-2026-22551 and fix it if it is affected.\n\nWhat it is: CVE-2026-22551 is a medium-severity vulnerability in Eclipse Theia, published on 18 Jun 2026. \nExploitation: There is no known exploitation of CVE-2026-22551 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-22551/ (Markdown: https://insights.sbomify.com/CVE-2026-22551/index.md)","id":"CVE-2026-22551","markdown":"https://insights.sbomify.com/CVE-2026-22551/index.md","name":"CVE-2026-22551","record":{"aliases":["GHSA-qwjm-9c66-w4q4","UBUNTU-CVE-2026-22551"],"analysis":null,"analysis_generated_by":null,"assigner":"eclipse","cpe":[{"product":"theia","vendor":"eclipse"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-829","name":"Inclusion of Functionality from Untrusted Control Sphere"},{"id":"CWE-201","name":"Insertion of Sensitive Information Into Sent Data"}],"description":"In Eclipse Theia versions prior to 1.71.0, the AI chat rendered Markdown image tags from AI responses, triggering HTTP requests to arbitrary external URLs without restriction. Combined with prompt injection in a malicious workspace, an attacker could induce the AI agent to construct image URLs encoding sensitive information from the workspace or conversation context, exfiltrating it to attacker-controlled servers. The workspace trust enforcement introduced in v1.71.0 mitigates the documented attack chain by disabling AI features in untrusted workspaces.","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] Data Exfiltration via Markdown Image Rendering in AI Chat","id":"CVE-2026-22551","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":14,"n_references":1,"next":{"headline":"ePower epower.ie Missing Authentication for Critical Function","id":"CVE-2026-22552"},"packages":[{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat","purl":"pkg:npm/%40theia/ai-chat","source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat-ui","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-chat-ui","purl":"pkg:npm/%40theia/ai-chat-ui","source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-claude-code","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-claude-code","purl":"pkg:npm/%40theia/ai-claude-code","source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-code-completion","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-code-completion","purl":"pkg:npm/%40theia/ai-code-completion","source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-core","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-core","purl":"pkg:npm/%40theia/ai-core","source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-editor","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-editor","purl":"pkg:npm/%40theia/ai-editor","source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-ide","purl":null,"source":"GHSA-qwjm-9c66-w4q4"},{"ecosystem":"npm","fixed":["1.71.0"],"introduced":["0"],"last_affected":[],"package":"@theia/ai-ide","purl":"pkg:npm/%40theia/ai-ide","source":"GHSA-qwjm-9c66-w4q4"}],"prev":{"headline":"Command injection in WRC-X1500GS-B","id":"CVE-2026-22550"},"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] Indirect Prompt Injection via Adversarial Workspace File and Directory Names in AI Chat","id":"CVE-2026-44688","kev_date_added":null,"published":"2026-06-18"},{"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":"partial"},"state":"PUBLISHED","updated":"2026-06-18","vendors":["Eclipse Foundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2026-22551/"}