Skip to main content
Public proof of concept

CVE-2024-28185

A public proof of concept exists; no exploitation attested.

  • Published2024-04-18
  • WeaknessCWE-59 · CWE-61

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2024-04-1815:15CVE publishedNVD

Versions per branch

CISA-ADP
Judge0
BranchAffectedFixed in
1.13≤ 1.13.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • judge0
    Affected
    • = <= 1.13.0no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-04-18

Fix

No fix published by the sources we read yet. NVD record

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
1 moduleexploit/linux/http/judge0_sandbox_escape_cve_2024_28189rank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2024-04-23
  • CNACVSS 3.110known since 2026-10-23
  • CNAweakness (CWE)CWE-59, CWE-61known since 2026-10-23
  • FIRST EPSSEPSS score7.1 %2026-11-17
  • Metasploit FrameworkMetasploit modules1known since 2026-11-01

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2024-04-18
Last Modified
2026-06-17
NVD status
Deferred

Frequently asked questions

What is CVE-2024-28185?

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.

Is CVE-2024-28185 actively exploited?

Active exploitation of CVE-2024-28185 has not been confirmed. Its EPSS score was 7.1% on 2026-11-17, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-28185?

CVE-2024-28185 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record