Fireshare Path Traversal Vulnerability in Chunked Upload Endpoint Allowing Arbitrary File Write

Vulnerability

A path traversal vulnerability has been identified in Fireshare version 1.5.1, specifically within the chunked upload endpoint. This vulnerability allows authenticated attackers to write arbitrary files outside the designated upload directory. The issue arises because the 'checkSum' multipart field is used to construct filesystem paths without proper sanitization or containment checks. As a result, attackers can exploit this flaw to write files to locations writable by the Fireshare process, such as the '/tmp' directory in containerized environments. This violation of data integrity could lead to further attacks, depending on the specific deployment.

Impact

Exploitation of this vulnerability allows for arbitrary file writes to locations chosen by the attacker, as long as those locations are writable by the Fireshare process.

Reproduction

To reproduce this vulnerability, log in to the Fireshare application and obtain a session cookie. Then, create a file that will be uploaded and use the '/api/uploadChunked' endpoint to upload it. Include a crafted 'checkSum' value that traverses the directory structure to write the file to an arbitrary location, such as the '/tmp' directory.

Remediation

Users can upgrade to Fireshare version 1.5.2, which addresses this vulnerability.

Added: Mar 26, 2026, 9:59 PM
Updated: Mar 26, 2026, 9:59 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.2
exploitability
6.2
remediation
0.0
relevance
4.7
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.