Hytale · Hytale · CVE-2026-34735
Name of the Vulnerable Software and Affected Versions
Hytale versions 1.2.0 and prior
Description
The Hytale Modding Wiki allows server-side code execution through the `quickUpload()` API endpoint. The endpoint validates uploaded files by checking their MIME type using PHP's `finfo` function, which inspects file contents. However, the stored filename is constructed using the client-supplied file extension from `getClientOriginalExtension()`. These checks are independent, allowing an attacker to upload a file with content that passes the MIME allowlist but uses a .php extension. The file is stored on the public disk and is directly accessible via URL.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.