{"id":"CVE-2026-60009","published":"2026-08-05T11:16:25.363","lastModified":"2026-08-07T15:54:02.380","description":"In Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend binds `POST /file-upload` in every filesystem-enabled deployment. The handler takes an attacker-supplied absolute path from the multipart `uri` field and calls `fs.move(tmp, target, { overwrite: true })` with no workspace confinement and no authentication. 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. Because `multipart/form-data` is a CORS-safelisted request type, a cross-origin web page can trigger the write with no preflight and no credentials, resulting in an unauthenticated arbitrary file write outside the workspace to any absolute path the backend process can write. This can escalate to remote code execution, for example by overwriting a startup-executed file such as `~/.bashrc`. Electron mode uses a separate `ElectronSecurityToken` and is not affected via this path.","cvssScore":8.8,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cwes":["CWE-22","CWE-73","CWE-306","CWE-352"],"vendors":["eclipse"],"products":["theia"],"references":[{"url":"https://github.com/eclipse-theia/theia/security/advisories/GHSA-62f6-wcvg-54h3","tags":["Broken Link"]},{"url":"https://gitlab.eclipse.org/security/cve-assignment/-/work_items/177","tags":["Vendor Advisory"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/595","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/595","tags":["Exploit","Mitigation","Vendor Advisory"]}],"exploitRefs":[{"url":"https://github.com/eclipse-theia/theia/security/advisories/GHSA-62f6-wcvg-54h3","tags":["Broken Link"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/issues/595","tags":["Exploit","Mitigation","Vendor Advisory"]},{"url":"https://gitlab.eclipse.org/security/vulnerability-reports/-/work_items/595","tags":["Exploit","Mitigation","Vendor Advisory"]}],"hasPoc":true,"ai":{"summary":"The flaw allows unauthenticated file uploads to any writable path on the server, potentially leading to remote code execution by overwriting critical files.","exploitability":"Exploitation is relatively easy due to the lack of authentication and CORS restrictions, requiring only a cross-origin web page with access to the `uri` field in a multipart request.","blast_radius":"The impact can be severe as it affects any filesystem-enabled deployment, potentially leading to data loss or system compromise.","remediation":"Update to Eclipse Theia version 1.74 or later, which includes fixes for this vulnerability.","tags":["rce","auth-bypass","web","file-upload"],"model":"qwen2.5:7b-instruct","analyzedAt":"2026-08-11T06:47:24.611Z"}}