Gyoridavid Short-Video-Maker Path Traversal Vulnerability in REST API

Vulnerability

A path traversal vulnerability has been identified in Gyoridavid Short-Video-Maker versions through 1.3.4. The issue resides in the REST API component, specifically within the file 'src/server/routers/rest.ts'. The vulnerability allows remote attackers to manipulate the 'req.params.tmpFile' and 'req.params.fileName' parameters, enabling them to traverse directories and access files outside the intended directories on the server.

Impact

Exploitation of this vulnerability could lead to unauthorized access to arbitrary server-side files, potentially disclosing sensitive information.

Reproduction

To reproduce this vulnerability, send a request to the '/api/tmp/:tmpFile' or '/api/music/:fileName' endpoint with a crafted file name that includes traversal sequences. The request should bypass the default path restrictions and access files outside the designated directories.

Remediation

It is recommended to update the REST API to validate and sanitize route parameters, ensuring they do not contain traversal sequences or absolute paths. Implementing checks to confirm that requested files remain within the intended directories before serving them can also mitigate this vulnerability.

Added: May 7, 2026, 11:19 PM
Updated: May 7, 2026, 11:19 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
0.8
exploitability
8.7
remediation
0.0
relevance
7.7
threat
6.4
urgency
2.9
incentive
4.2

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