CVE-2026-60009CWE-22CWE-306CWE-352CWE-73path-traversalcsrf

CVE-2026-60009

High · published August 5, 2026

CVSS v3.1
8.8
EPSS
0%
Percentile
37.6
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00444 · 37.6th percentile
Weaknesses
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'); CWE-306 · Missing Authentication for Critical Function; CWE-352 · Cross-Site Request Forgery (CSRF); CWE-73 · External Control of File Name or Path
Published
2026-08-05T15:16Z
Affected products (1)
ProductVersionsFixed in
eclipse/theia< 1.74.01.74.0
References (4)
EPSS history
Timeline
  • 05 AUG 10:59Z
    In Eclipse Theia versions up to and including 1.73.1, the `@theia/filesystem` backend binds `POST /file-upload` in every filesystem-enabled deployment
    cvelistv5