{"id":"CVE-2026-34735","state":"PUBLISHED","title":"Hytale Modding Vulnerable to Remote Code Execution via File Upload Bypass in `FileController`","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.","publishedAt":"2026-04-02T18:23:26.441Z","updatedAt":"2026-04-02T19:14:04.735Z","severity":{"score":8.7,"label":"High","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["HytaleModding wiki"],"affected":[{"vendor":"HytaleModding","product":"wiki","versions":[{"version":"<= 1.2.0","status":"affected"}]}],"references":["https://github.com/HytaleModding/wiki/security/advisories/GHSA-2xqq-6778-h4j9"],"weaknesses":["CWE-434"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/34xxx/CVE-2026-34735.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-34735","state":"PUBLISHED","datePublished":"2026-04-02T18:23:26.441Z","dateUpdated":"2026-04-02T19:14:04.735Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-30T18:41:20.754Z"},"containers":{"cna":{"title":"Hytale Modding Vulnerable to Remote Code Execution via File Upload Bypass in `FileController`","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"HytaleModding","product":"wiki","versions":[{"version":"<= 1.2.0","status":"affected"}]}],"references":[{"url":"https://github.com/HytaleModding/wiki/security/advisories/GHSA-2xqq-6778-h4j9","name":"https://github.com/HytaleModding/wiki/security/advisories/GHSA-2xqq-6778-h4j9","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-434","lang":"en","description":"CWE-434: Unrestricted Upload of File with Dangerous Type","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-04-02T18:23:26.441Z"},"source":{"advisory":"GHSA-2xqq-6778-h4j9","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-02T19:13:55.289776Z","id":"CVE-2026-34735","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-02T19:14:04.735Z"}}]}}}