The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2023-48022

CVE-2023-48022: Anyscale Ray RCE Vulnerability

CVE-2023-48022 is a remote code execution vulnerability in Anyscale Ray versions 2.6.3 and 2.8.0 that enables attackers to execute arbitrary code via the job submission API. This article covers technical details, impact, and mitigation.

Published: February 11, 2026

CVE-2023-48022 Overview

CVE-2023-48022 is a critical remote code execution vulnerability affecting Anyscale Ray, a popular open-source framework for building distributed applications. The vulnerability allows remote attackers to execute arbitrary code via the job submission API without requiring authentication. This vulnerability has been dubbed "ShadowRay" by security researchers and represents a significant risk for organizations running Ray clusters that are inadvertently exposed to untrusted networks.

The vendor (Anyscale) maintains that Ray is designed for use within strictly controlled network environments and is not intended to be exposed to the public internet. However, real-world deployments have shown that many Ray instances are misconfigured and accessible externally, making this vulnerability particularly dangerous in practice.

Critical Impact

Unauthenticated remote attackers can execute arbitrary code on Ray cluster nodes, potentially leading to complete system compromise, data exfiltration, cryptocurrency mining, and lateral movement within affected networks.

Affected Products

  • Anyscale Ray version 2.6.3
  • Anyscale Ray version 2.8.0
  • Anyscale Ray versions prior to 2.52.0 without token authentication

Discovery Timeline

  • 2023-11-28 - CVE-2023-48022 published to NVD
  • 2025-12-17 - Last updated in NVD database

Technical Details for CVE-2023-48022

Vulnerability Analysis

This vulnerability stems from the lack of authentication on Ray's job submission API, which is exposed by default on the Ray Dashboard. The job submission API allows users to submit arbitrary Python code for execution on Ray cluster nodes. When Ray clusters are deployed without proper network isolation or authentication, any attacker with network access to the Ray Dashboard can submit malicious jobs that execute with the privileges of the Ray process.

The vulnerability is classified under CWE-918 (Server-Side Request Forgery), though its primary impact is remote code execution. The job submission API accepts Python code payloads and executes them on worker nodes, providing attackers with a direct path to code execution without any authentication barriers in default configurations.

Root Cause

The root cause of CVE-2023-48022 is the design decision to ship Ray without authentication enabled by default. While Anyscale's documentation explicitly states that Ray should only be deployed in trusted network environments, the framework lacks built-in authentication mechanisms in the affected versions. This "insecure by default" configuration, combined with the powerful job submission API that accepts arbitrary code, creates a dangerous attack surface when Ray clusters are exposed to untrusted networks.

Token authentication was later introduced in Ray version 2.52.0 as an optional security measure, but it must be explicitly enabled by administrators.

Attack Vector

The attack vector for CVE-2023-48022 is network-based and requires no user interaction or special privileges. An attacker who can reach the Ray Dashboard (typically on port 8265) can submit arbitrary Python code for execution. The attack flow involves discovering exposed Ray instances, submitting a malicious job payload via the job submission API, and achieving code execution on the Ray cluster nodes.

Attackers have been observed exploiting this vulnerability in the wild to deploy cryptocurrency miners, establish reverse shells, and exfiltrate sensitive data including AI model weights and cloud credentials. The MITRE ATLAS case study documents real-world exploitation campaigns targeting exposed Ray clusters.

Detection Methods for CVE-2023-48022

Indicators of Compromise

  • Unexpected processes spawned by Ray worker processes, particularly cryptocurrency miners or reverse shell connections
  • Anomalous network connections from Ray cluster nodes to external IP addresses
  • Unusual job submissions in Ray Dashboard logs from unknown source IP addresses
  • Presence of unauthorized Python scripts or binaries in Ray cluster temporary directories
  • Increased CPU usage on Ray nodes indicating cryptomining activity

Detection Strategies

  • Monitor Ray Dashboard access logs for job submissions from unexpected source IPs
  • Implement network intrusion detection rules for traffic patterns associated with Ray job submission API exploitation
  • Deploy endpoint detection and response (EDR) solutions to identify malicious processes spawned by Ray workers
  • Scan for exposed Ray Dashboard instances using port scanning tools targeting port 8265

Monitoring Recommendations

  • Enable comprehensive logging for Ray job submissions including source IP, job content, and execution results
  • Set up alerts for Ray Dashboard access from non-whitelisted IP ranges
  • Monitor Ray cluster nodes for child processes that deviate from normal ML workload patterns
  • Implement network flow analysis to detect command-and-control communications from Ray nodes

How to Mitigate CVE-2023-48022

Immediate Actions Required

  • Audit network exposure of Ray clusters and ensure they are not accessible from untrusted networks
  • Implement network segmentation to isolate Ray clusters within trusted internal networks
  • Upgrade to Ray version 2.52.0 or later and enable token authentication
  • Review Ray Dashboard access logs for signs of unauthorized job submissions

Patch Information

Anyscale has introduced token authentication in Ray version 2.52.0 and later to address this vulnerability. Organizations should upgrade to the latest Ray version and explicitly enable token authentication following the guidance in the Ray Token Authentication Documentation. The Ray Security Documentation provides comprehensive guidance on securing Ray deployments.

For detailed technical analysis and exploitation details, refer to the Bishop Fox research blog and the Vicarius vulnerability analysis.

Workarounds

  • Deploy Ray clusters behind a VPN or bastion host to prevent direct internet exposure
  • Implement firewall rules to restrict Ray Dashboard access (port 8265) to trusted IP addresses only
  • Use network policies in Kubernetes environments to limit ingress to Ray services
  • Consider using a reverse proxy with authentication in front of the Ray Dashboard as an additional security layer
bash
# Example: Restrict Ray Dashboard access using iptables
# Allow only internal network access to Ray Dashboard
iptables -A INPUT -p tcp --dport 8265 -s 10.0.0.0/8 -j ACCEPT
iptables -A INPUT -p tcp --dport 8265 -s 172.16.0.0/12 -j ACCEPT
iptables -A INPUT -p tcp --dport 8265 -s 192.168.0.0/16 -j ACCEPT
iptables -A INPUT -p tcp --dport 8265 -j DROP

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAnyscale Ray

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability91.77%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-918
  • Technical References
  • MITRE Study AML.CS0023

  • Bishop Fox Blog on Ray Versions

  • Ray Documentation on Security

  • Ray Documentation on Token Auth

  • Vicarius Post on CVE-2023-48022 Exploit

  • Vicarius Story on Shadowray CVE-2023-48022
  • Related CVEs
  • CVE-2026-32981: Anyscale Ray Path Traversal Vulnerability

  • CVE-2026-27482: Anyscale Ray Auth Bypass Vulnerability

  • CVE-2023-48023: Anyscale Ray SSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English