Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
CriticalPublic exploit

Unauthenticated RCE in Anyscale Ray Job Submission API

IdentifiersCVE-2023-48022CWE-306

CVE-2023-48022 affects Anyscale Ray 2.6.3 and 2.8.0 and allows remote attackers to execute arbitrary code through Ray’s Job Submission API exposed by the Ray dashboard, typically at /api/jobs/ on port 8265. The issue is described in the provided content as a missing authentication flaw: if a Ray dashboard is reachable, an attacker can submit jobs to the unauthenticated Jobs API and cause attacker-controlled Bash or Python payloads to run on the cluster. Reporting around ShadowRay and ShadowRay 2.0 indicates the flaw has been exploited in the wild to launch multi-stage payloads, abuse Ray orchestration features to execute across cluster nodes, and pivot from exposed head nodes to additional internal nodes. The vendor position noted in the content is that Ray is intended for strictly controlled network environments rather than direct Internet exposure.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation results in full remote code execution in the Ray cluster context. The provided content indicates attackers have used this access for cryptomining with XMRig, deployment of reverse shells, persistence via cron/systemd changes, lateral movement to non-Internet-facing nodes, propagation to other exposed Ray dashboards, theft of proprietary assets such as AI models, datasets, source code, cloud and database credentials, and access to retained production user data. The same access has also reportedly been used to launch DDoS activity, including Sockstress-based attacks. In practice, impact can extend from single-node compromise to broad cluster takeover and abuse of attached GPU/CPU resources.

Mitigation

If you can’t patch tonight, do this now.

Do not expose the Ray dashboard or Job Submission API to the public Internet. Restrict access to the Ray dashboard port 8265 using firewall rules, security groups, VPN-only access, or equivalent network segmentation. Place clusters behind proper network controls and add authorization/authentication on top of dashboard access where available. Continuously monitor Ray environments for anomalous job submissions, unexpected Bash/Python execution, outbound callbacks, cron/systemd persistence, miner activity, and lateral movement between cluster nodes. Use exposure-validation tooling such as the Ray Open Ports Checker referenced in the content.

Remediation

Patch, then assume compromise.

The content does not describe a vendor patch for CVE-2023-48022 and repeatedly characterizes the issue as unpatched. Based on the provided material, remediation consists of removing Internet exposure of Ray dashboards and Job Submission APIs, deploying Ray only within strictly controlled trusted networks, and enabling available authentication controls where supported. The content notes that customers at Ray version 2.52.0 and later can choose to use token authentication. It also references Anyscale’s Ray Open Ports Checker tool to validate cluster exposure and configuration.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
ShadowRay-RCE-PoC-CVE-2023-48022MaturityPoCFrameworkmetasploitVerified exploit

This repository provides a weaponized exploit for CVE-2023-48022, a remote command execution vulnerability in the Ray framework (version 2.8.0). The exploit targets Ray's job submission API, which by default is unauthenticated and allows remote attackers to submit arbitrary jobs for execution. The repository contains two main exploit files: a Python script (exploit.py) for direct exploitation and a Metasploit module (ray_job_rce.rb) for integration with the Metasploit framework. The Python script allows users to specify a target Ray cluster and a command to execute, submitting the job via the Ray JobSubmissionClient. The Metasploit module automates exploitation, supporting both custom command execution and reverse shell payloads, and targets the '/api/jobs/' and '/api/job_agent/jobs/' endpoints. The README provides detailed usage instructions for both approaches. The exploit is operational and weaponized, enabling remote, unauthenticated code execution on vulnerable Ray clusters accessible over the network.

jakabakosDisclosed Mar 29, 2024pythonrubynetwork
EXPOSURE SURFACE

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.

VendorProductType
AnyscaleRayapplication

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

ACTIVITY FEED

Recent activity

22 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence2

Every observed campaign linking this CVE to a named adversary.

Associated malware8

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity12

Community discussion across Reddit, Mastodon, and other social sources.