Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-34735: CWE-434: Unrestricted Upload of File with Dangerous Type in HytaleModding wiki

0
High
VulnerabilityCVE-2026-34735cvecve-2026-34735cwe-434
Published: Thu Apr 02 2026 (04/02/2026, 18:23:26 UTC)
Source: CVE Database V5
Vendor/Project: HytaleModding
Product: wiki

Description

The Hytale Modding Wiki is a free service for Hytale mods to host their documentation & wikis. In version 1.2.0 and prior, the quickUpload() endpoint validates uploaded files by checking their MIME type (via PHP's finfo, which inspects file contents) but constructs the stored filename using the client-supplied file extension from getClientOriginalExtension(). These two checks are independent: an attacker can upload a file whose content passes the MIME allowlist while using a .php extension. The file is stored on the public disk and is directly accessible via URL, allowing server-side code execution. At time of publication no known patches exist.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/02/2026, 19:37:19 UTC

Technical Analysis

CVE-2026-34735 is a vulnerability classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) affecting the HytaleModding wiki software version 1.2.0 and earlier. The root cause lies in the quickUpload() endpoint's flawed file validation process. While the endpoint uses PHP's finfo function to inspect the MIME type of uploaded files, ensuring the content matches allowed types, it separately constructs the stored filename using the client-supplied file extension obtained from getClientOriginalExtension(). This separation allows an attacker to craft a file whose content passes the MIME type check but whose extension is maliciously set to .php. Because the file is stored on a public disk and accessible via URL, an attacker can upload a PHP script and execute arbitrary server-side code remotely. This leads to a critical security breach, as the attacker can potentially take full control of the server hosting the wiki. The vulnerability requires no user interaction and no authentication, making it highly exploitable. At the time of disclosure, no official patches or fixes have been released. The CVSS 4.0 vector indicates network attack vector, low attack complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. This vulnerability poses a significant risk to organizations using this software, especially those exposing the wiki to the internet.

Potential Impact

The impact of CVE-2026-34735 is severe for organizations running vulnerable versions of the HytaleModding wiki. Successful exploitation allows remote attackers to upload and execute arbitrary PHP code on the server, leading to full compromise of the affected system. This can result in data theft, data manipulation, defacement of hosted content, deployment of malware or ransomware, lateral movement within the network, and disruption of services. Since the wiki is often used to host modding documentation, attackers could also manipulate content to distribute malicious instructions or files to users. The public accessibility of the uploaded files increases the risk of widespread exploitation. Organizations with sensitive or critical data on these servers face confidentiality and integrity breaches, while availability can be impacted by denial-of-service or destructive payloads. The lack of authentication and user interaction requirements further heightens the risk, making automated exploitation feasible. Overall, this vulnerability threatens the security posture of affected organizations and their users.

Mitigation Recommendations

To mitigate CVE-2026-34735, organizations should implement the following specific measures: 1) Immediately restrict or disable file upload functionality on the HytaleModding wiki until a patch is available. 2) Implement server-side validation that enforces strict matching between MIME type and file extension, rejecting any mismatch or suspicious extensions such as .php. 3) Sanitize and normalize all client-supplied file extensions before storage, or better yet, assign safe, server-generated filenames without relying on client input. 4) Configure the web server to prevent execution of uploaded files in the upload directory, for example, by disabling PHP execution in that folder via .htaccess or server configuration. 5) Monitor upload directories for unexpected file types and remove any suspicious files immediately. 6) Employ web application firewalls (WAFs) to detect and block malicious upload attempts. 7) Maintain strict access controls and logging to detect exploitation attempts. 8) Stay alert for official patches or updates from the vendor and apply them promptly once available. 9) Conduct security audits and penetration tests focusing on file upload functionality to identify similar weaknesses. These targeted mitigations go beyond generic advice and address the specific technical flaw and exploitation vector.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-03-30T18:41:20.754Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69ceb81be6bfc5ba1df6de9a

Added to database: 4/2/2026, 6:40:27 PM

Last enriched: 4/2/2026, 7:37:19 PM

Last updated: 4/3/2026, 5:53:28 AM

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses