{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-61891 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-61891 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-61891 is a high-severity path traversal vulnerability in Eclipse Theia, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-61891 and fix it if it is affected.\n\nWhat it is: CVE-2026-61891 is a high-severity path traversal vulnerability in Eclipse Theia, published on 5 Aug 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-61891 in the wild and no public exploit code.\n\nAffected product: Eclipse Theia. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-61891/ (Markdown: https://insights.sbomify.com/CVE-2026-61891/index.md)","id":"CVE-2026-61891","markdown":"https://insights.sbomify.com/CVE-2026-61891/index.md","name":"CVE-2026-61891","record":{"aliases":["GHSA-qqc8-9538-25v4","GHSA-xrrm-6636-87r2"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Eclipse Theia IDE","requires_auth":"none","summary":"Unauthenticated attackers can read arbitrary files on the server via path traversal in Eclipse Theia's HTTP file endpoints due to missing token validation.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"theia","vendor":"eclipse"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-36","name":"Absolute Path Traversal"},{"id":"CWE-306","name":"Missing Authentication for Critical Functionality"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"},{"id":"CWE-200","name":"Exposure of Sensitive Information to an Unauthorized Actor"}],"description":"In Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend exposes HTTP file-download endpoints (`GET /file`, `GET /files/`, `PUT /files/`) that convert a client-supplied URI directly to a filesystem path and stream the file, without confining it to the workspace or any allow-listed root. In browser (non-Electron) deployments the connection token is enforced only on WebSocket upgrades; the HTTP middleware in `@theia/core` re-issues the cookie and calls `next()` without rejecting tokenless HTTP requests, so these endpoints are reachable without a valid token. As a result an unauthenticated client can read any file readable by the backend process, including files outside the opened workspace (for example `/etc/hosts`, SSH keys, or tokens). Electron mode uses a separate `ElectronSecurityToken` and is not affected via this path.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Path traversal in Eclipse Theia","id":"CVE-2026-61891","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2026"},"n_packages":0,"n_references":3,"next":{"headline":"Weintek cMT3092X Incorrect Permission Assignment for Critical Resource","id":"CVE-2026-61892"},"packages":[],"prev":{"headline":"Weintek cMT3092X Plaintext Storage of a Password","id":"CVE-2026-61886"},"products":["Eclipse Theia"],"published":"2026-08-05","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":"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-08-05","vendors":["Eclipse Foundation"]},"summary":"Unauthenticated attackers can read arbitrary files on the server via path traversal in Eclipse Theia's HTTP file endpoints due to missing token validation.","url":"https://insights.sbomify.com/CVE-2026-61891/"}