Cross-site Request Forgery (CSRF) Affecting @theia/filesystem package, versions <1.74.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.3% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-THEIAFILESYSTEM-18565056
  • published6 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

NewCVE-2026-60009  (opens in a new tab)
CWE-352  (opens in a new tab)

How to fix?

Upgrade @theia/filesystem to version 1.74.0 or higher.

Overview

@theia/filesystem is a Theia - FileSystem Extension

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) through the NodeFileUploadService handler in the filesystem backend code. An attacker can overwrite any filesystem path the backend process can write by sending a multipart/form-data request to POST /file-upload with an attacker-controlled absolute uri target and an uploaded file, without a valid connection token. The upload handler accepts the uri field as the destination and moves the temporary upload there with no route-level authentication or workspace confinement. In browser deployments, a cross-origin page can trigger the request with no preflight, letting an unauthenticated attacker write outside the workspace and potentially achieve remote code execution by replacing a startup-executed file.

CVSS Base Scores

version 4.0
version 3.1