{"id":"CVE-2026-24479","state":"PUBLISHED","title":"HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE","description":"HUSTOF is an open source online judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training. Prior to version 26.01.24, the problem_import_qduoj.php and problem_import_hoj.php modules fail to properly sanitize filenames within uploaded ZIP archives. Attackers can craft a malicious ZIP file containing files with path traversal sequences (e.g., ../../shell.php). When extracted by the server, this allows writing files to arbitrary locations in the web root, leading to Remote Code Execution (RCE). Version 26.01.24 contains a fix for the issue.","publishedAt":"2026-01-27T00:43:42.799Z","updatedAt":"2026-01-27T14:42:04.040Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["zhblue hustoj"],"affected":[{"vendor":"zhblue","product":"hustoj","versions":[{"version":"< 26.01.24","status":"affected"}]}],"references":["https://github.com/zhblue/hustoj/security/advisories/GHSA-xmgg-2rw4-7fxj","https://github.com/zhblue/hustoj/commit/902bd09e6d0011fe89cd84d4236899314b33101f"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/24xxx/CVE-2026-24479.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-24479","state":"PUBLISHED","datePublished":"2026-01-27T00:43:42.799Z","dateUpdated":"2026-01-27T14:42:04.040Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-23T00:38:20.547Z"},"containers":{"cna":{"title":"HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE","descriptions":[{"lang":"en","value":"HUSTOF is an open source online judge based on PHP/C++/MySQL/Linux for ACM/ICPC and NOIP training. Prior to version 26.01.24, the problem_import_qduoj.php and problem_import_hoj.php modules fail to properly sanitize filenames within uploaded ZIP archives. Attackers can craft a malicious ZIP file containing files with path traversal sequences (e.g., ../../shell.php). When extracted by the server, this allows writing files to arbitrary locations in the web root, leading to Remote Code Execution (RCE). Version 26.01.24 contains a fix for the issue."}],"affected":[{"vendor":"zhblue","product":"hustoj","versions":[{"version":"< 26.01.24","status":"affected"}]}],"references":[{"url":"https://github.com/zhblue/hustoj/security/advisories/GHSA-xmgg-2rw4-7fxj","name":"https://github.com/zhblue/hustoj/security/advisories/GHSA-xmgg-2rw4-7fxj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zhblue/hustoj/commit/902bd09e6d0011fe89cd84d4236899314b33101f","name":"https://github.com/zhblue/hustoj/commit/902bd09e6d0011fe89cd84d4236899314b33101f","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.3,"baseSeverity":"CRITICAL","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-27T00:43:42.799Z"},"source":{"advisory":"GHSA-xmgg-2rw4-7fxj","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-27T14:41:12.496693Z","id":"CVE-2026-24479","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-27T14:42:04.040Z"}}]}}}