CVE-2026-24479: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in zhblue hustoj
CVE-2026-24479 is a critical path traversal vulnerability in the zhblue hustoj online judge platform versions prior to 26. 01. 24. The vulnerability arises from improper sanitization of filenames within uploaded ZIP archives in the problem_import_qduoj. php and problem_import_hoj. php modules. An attacker can craft a malicious ZIP file containing path traversal sequences (e. g. , .. /..
AI Analysis
Technical Summary
The vulnerability CVE-2026-24479 affects the zhblue hustoj platform, an open-source online judge system widely used for programming contests and training. The root cause is improper limitation of pathnames (CWE-22) during the extraction of uploaded ZIP archives in the problem_import_qduoj.php and problem_import_hoj.php modules. Specifically, these modules fail to sanitize filenames inside ZIP files, allowing attackers to include path traversal sequences such as '../../shell.php'. When the server extracts these files, it writes them outside the intended directory, often into the web root, enabling attackers to deploy malicious scripts. This leads to remote code execution (RCE) with no need for authentication or user interaction, making exploitation straightforward and highly impactful. The vulnerability affects all versions prior to 26.01.24, which contains the patch. The CVSS 4.0 vector (AV:N/AC:L/AT:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) reflects network attack vector, low complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. Although no known exploits are reported in the wild yet, the critical nature and ease of exploitation make this a significant threat. The vulnerability is particularly relevant for organizations running hustoj instances exposed to the internet, especially educational institutions and competitive programming platforms.
Potential Impact
For European organizations, the impact of this vulnerability can be severe. Educational institutions, universities, and coding competition platforms that deploy hustoj for training and contests are at risk of unauthorized remote code execution, which can lead to full system compromise. Attackers could deploy web shells, steal sensitive data, manipulate contest results, or pivot to other internal systems. The breach of integrity and availability of the online judge platform can disrupt academic activities and damage reputations. Additionally, compromised servers could be used as a foothold for further attacks within the organization or for launching attacks against other targets. Given the critical CVSS score and the lack of required authentication, the threat is highly relevant for any European entity using vulnerable versions of hustoj, especially those with public-facing installations.
Mitigation Recommendations
Organizations should immediately upgrade all hustoj instances to version 26.01.24 or later, which contains the fix for this vulnerability. If immediate patching is not possible, implement strict input validation and sanitization on uploaded ZIP files to reject any files containing path traversal sequences. Employ web application firewalls (WAFs) with rules to detect and block suspicious ZIP uploads. Restrict file system permissions so that the web server user cannot write outside designated directories. Monitor server logs for unusual file extraction activities or unexpected file creations in the web root. Conduct regular security audits of the online judge environment and isolate it from critical internal networks to limit potential lateral movement. Finally, educate administrators about the risks of accepting untrusted ZIP archives and enforce secure coding practices for handling file uploads.
Affected Countries
Germany, France, United Kingdom, Netherlands, Italy, Spain, Poland, Sweden, Belgium, Finland
CVE-2026-24479: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in zhblue hustoj
Description
CVE-2026-24479 is a critical path traversal vulnerability in the zhblue hustoj online judge platform versions prior to 26. 01. 24. The vulnerability arises from improper sanitization of filenames within uploaded ZIP archives in the problem_import_qduoj. php and problem_import_hoj. php modules. An attacker can craft a malicious ZIP file containing path traversal sequences (e. g. , .. /..
AI-Powered Analysis
Technical Analysis
The vulnerability CVE-2026-24479 affects the zhblue hustoj platform, an open-source online judge system widely used for programming contests and training. The root cause is improper limitation of pathnames (CWE-22) during the extraction of uploaded ZIP archives in the problem_import_qduoj.php and problem_import_hoj.php modules. Specifically, these modules fail to sanitize filenames inside ZIP files, allowing attackers to include path traversal sequences such as '../../shell.php'. When the server extracts these files, it writes them outside the intended directory, often into the web root, enabling attackers to deploy malicious scripts. This leads to remote code execution (RCE) with no need for authentication or user interaction, making exploitation straightforward and highly impactful. The vulnerability affects all versions prior to 26.01.24, which contains the patch. The CVSS 4.0 vector (AV:N/AC:L/AT:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N) reflects network attack vector, low complexity, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability. Although no known exploits are reported in the wild yet, the critical nature and ease of exploitation make this a significant threat. The vulnerability is particularly relevant for organizations running hustoj instances exposed to the internet, especially educational institutions and competitive programming platforms.
Potential Impact
For European organizations, the impact of this vulnerability can be severe. Educational institutions, universities, and coding competition platforms that deploy hustoj for training and contests are at risk of unauthorized remote code execution, which can lead to full system compromise. Attackers could deploy web shells, steal sensitive data, manipulate contest results, or pivot to other internal systems. The breach of integrity and availability of the online judge platform can disrupt academic activities and damage reputations. Additionally, compromised servers could be used as a foothold for further attacks within the organization or for launching attacks against other targets. Given the critical CVSS score and the lack of required authentication, the threat is highly relevant for any European entity using vulnerable versions of hustoj, especially those with public-facing installations.
Mitigation Recommendations
Organizations should immediately upgrade all hustoj instances to version 26.01.24 or later, which contains the fix for this vulnerability. If immediate patching is not possible, implement strict input validation and sanitization on uploaded ZIP files to reject any files containing path traversal sequences. Employ web application firewalls (WAFs) with rules to detect and block suspicious ZIP uploads. Restrict file system permissions so that the web server user cannot write outside designated directories. Monitor server logs for unusual file extraction activities or unexpected file creations in the web root. Conduct regular security audits of the online judge environment and isolate it from critical internal networks to limit potential lateral movement. Finally, educate administrators about the risks of accepting untrusted ZIP archives and enforce secure coding practices for handling file uploads.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-01-23T00:38:20.547Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 69780bf04623b1157cc7aabd
Added to database: 1/27/2026, 12:50:56 AM
Last enriched: 1/27/2026, 1:05:53 AM
Last updated: 1/27/2026, 2:58:23 AM
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-24686: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in theupdateframework go-tuf
MediumCVE-2026-24490: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in MobSF Mobile-Security-Framework-MobSF
HighCVE-2026-24489: CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection') in HappyHackingSpace gakido
MediumCVE-2026-24486: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in Kludex python-multipart
HighCVE-2026-23683: CWE-862: Missing Authorization in SAP_SE SAP Fiori App (Intercompany Balance Reconciliation)
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.