CVE-2026-60009
Received Received - Intake

Unauthenticated Arbitrary File Write in Eclipse Theia

Vulnerability report for CVE-2026-60009, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-05

Last updated on: 2026-08-05

Assigner: Eclipse Foundation

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-05
Last Modified
2026-08-05
Generated
2026-08-05
AI Q&A
2026-08-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 4 associated CPEs
Vendor Product Version / Range
eclipse theia 1.73.1
eclipse theia to 1.73.1 (inc)
eclipse che *
arduino ide *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
CWE-73 The product allows user input to control or influence paths or file names that are used in filesystem operations.
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
CWE-352 The web application does not, or cannot, sufficiently verify whether a request was intentionally provided by the user who sent the request, which could have originated from an unauthorized actor.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is an unauthenticated cross-origin arbitrary file write vulnerability in Eclipse Theia versions up to 1.73.1. The backend's POST /file-upload handler accepts an attacker-supplied absolute file path via the multipart URI field and performs an unconfined file move operation without authentication or workspace restrictions. In browser mode, the connection token fails to protect HTTP routes, allowing cross-origin requests to bypass authentication due to CORS-safelisted multipart/form-data requests.

Detection Guidance

Check if your Eclipse Theia deployment is running in browser mode (non-Electron) and if the POST /file-upload endpoint is exposed. Inspect network traffic for cross-origin requests to /file-upload with multipart/form-data containing an absolute URI path. Review logs for unauthorized file writes outside the workspace.

Impact Analysis

An attacker can write arbitrary files outside the workspace to any absolute path the backend process can access. This can lead to remote code execution by overwriting critical files like ~/.bashrc. Sensitive files may also be read, and the system could be fully compromised if the backend runs as root or writes to startup paths.

Mitigation Strategies

Upgrade to a patched version of Eclipse Theia beyond 1.73.1. If upgrading is not possible, restrict access to the /file-upload endpoint via network controls. Enforce connection token validation on all HTTP routes and confine file operations to the workspace. Avoid exposing Theia to untrusted networks until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-60009. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart