CVE-2024-28185
published critical CVSS 3.1 · 10.0Judge0 vulnerable to Sandbox Escape via Symbolic Link
Package status and fixes
Description
Judge0 is an open-source online code execution system. The application does not account for symlinks placed inside the sandbox directory, which can be leveraged by an attacker to write to arbitrary files and gain code execution outside of the sandbox. When executing a submission, Judge0 writes a `run_script` to the sandbox directory. The security issue is that an attacker can create a symbolic link (symlink) at the path `run_script` before this code is executed, resulting in the `f.write` writing to an arbitrary file on the unsandboxed system. An attacker can leverage this vulnerability to overwrite scripts on the system and gain code execution outside of the sandbox.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 10.0 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| judge0 | judge0 | <= 1.13.0 (affected) | GitHub_M · cna |
| judge0 | judge0 | 0 through 1.13.0 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-61 CWE-61: UNIX Symbolic Link (Symlink) Following
- CWE-59 CWE-59: Improper Link Resolution Before File Access ('Link Following')
References
3Provider assertions
3GitHub_M · cna
Judge0 vulnerable to Sandbox Escape via Symbolic Link
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 572c798c3a4daada874b1e8c969a03c94d0da7609075462ed1ea1f5288a867bc
- Ingested
- 23 Sep 2026, 08:21:01 UTC
- Source record
- Official CVE record