# CVE-2026-24479: HUSTOJ has Arbitrary File Write (Zip Slip) in Problem Import Modules that leads to RCE

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 8.13%, higher than 94% of CVEs (2026-12-01)
- Published: 2026-01-27T00:43:42.799Z
- Modified: 2026-06-17T10:23:07.917Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zhblue hustoj: < 26.01.24
- hustoj hustoj: before 26.01.24

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/zhblue/hustoj/security/advisories/GHSA-xmgg-2rw4-7fxj> (vendor-advisory)
- <https://github.com/zhblue/hustoj/commit/902bd09e6d0011fe89cd84d4236899314b33101f> (patch)

## Sources

- CVE List: [CVE-2026-24479](https://www.cve.org/CVERecord?id=CVE-2026-24479), CVE Terms of Use, modified 2026-01-27
- NVD: [CVE-2026-24479](https://nvd.nist.gov/vuln/detail/CVE-2026-24479), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-24479 · Whole record: https://cve.day/CVE-2026-24479.json · Rebuilt by cve.day 2026-11-25T22:59:13.203Z
