CVE-2023-48022: ShadowRay: Unauthenticated Remote Code Execution in Ray Job Submission API
- Vendor
- Anyscale
CVE-2023-48022 allows remote attackers to execute arbitrary code through Ray's unauthenticated job submission API, with versions 2.6.3 and 2.8.0 explicitly identified as affected. A client able to reach the job submission interface can submit a job whose entrypoint specifies an attacker-controlled command, which executes in the Ray worker's security context. Ray's maintainers dispute the vulnerability designation because the framework is intended to execute trusted code within a strictly controlled network environment. Ray 2.52.0 and later offer optional token authentication; this is a compensating control rather than a conventional patch for the disputed issue.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation compromises the confidentiality, integrity, and availability of resources accessible to the Ray worker. Attackers can execute commands, steal available cloud credentials and service-account tokens, access mounted source code, models, datasets, and production data, and consume CPU and GPU capacity. Ray scheduling features can extend malicious execution across cluster nodes, including nodes not directly exposed to the internet. Observed exploitation includes cryptomining, reverse shells, backdoor deployment, data theft, self-propagation, and DDoS activity. Root access is not inherent to this vulnerability and depends on the worker's privileges or additional escalation.
Mitigation
If you can’t patch tonight, do this now.
Keep Ray clusters on private, tightly controlled network segments and restrict dashboard and job-agent access to trusted clients using firewall rules, cloud security groups, and ingress controls. Protect the dashboard, normally on TCP port 8265, with authentication and authorization, and ensure job-agent interfaces cannot bypass those controls. Enable optional token authentication on Ray 2.52.0 and later. Run workers with least privilege, minimize accessible credentials and mounted sensitive data, and monitor job submissions, unexpected subprocesses, persistence changes, outbound connections, and unexplained CPU or GPU usage. Use Ray's Open Ports Checker to identify accidental exposure.
Remediation
Patch, then assume compromise.
No conventional patch or fixed Ray version is identified for CVE-2023-48022, which remains disputed by the maintainers. Correct deployments that expose job submission interfaces to untrusted clients by enforcing Ray's strictly controlled network deployment model. For deployments adopting token-based access control, upgrade to Ray 2.52.0 or later and explicitly enable and configure token authentication; upgrading alone does not establish that authentication is enabled.
Exploits
3 exploits validated by Mallory's analysis.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2023-48022 exploited in the wild?
- Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2023-48022?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2023-48022, the earliest disclosed Nov 15, 2023.
- Is there a patch for CVE-2023-48022?
- No conventional patch or fixed Ray version is identified for CVE-2023-48022, which remains disputed by the maintainers. Correct deployments that expose job submission interfaces to untrusted clients by enforcing Ray's strictly controlled network deployment model.
- What products are affected by CVE-2023-48022?
- Anyscale Ray.
- How severe is CVE-2023-48022?
- CVE-2023-48022 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 43.1% (99th percentile) as of Nov 25, 2026.
Recent activity
33 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.