CVE-2023-48022: Ray Package Arbitrary Code Execution via Job Submission API

ray Updated 02 Oct 2025

Summary

28/11/2023
No i
Critical
9.8

CVE-2023-48022: Ray has arbitrary code execution via jobs submission API. Affects ray versions < 2.49.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Ray is an open-source framework designed for building and running distributed applications. It provides a simple interface for parallel and distributed computing, enabling developers to scale their applications effortlessly. However, Ray's job submission API has a critical vulnerability that allows remote attackers to execute arbitrary code, posing significant security risks if used in uncontrolled environments.

Vulnerability Detail

The vulnerability arises from the job submission API in Anyscale Ray, which allows remote attackers to submit jobs that can execute arbitrary code on the server. This flaw is particularly concerning as it can lead to unauthorized access and control over the affected system. The vendor has indicated that Ray is intended for use only within strictly controlled network environments, which may not mitigate the risks associated with this vulnerability in less secure settings.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, it is advised to restrict access to the job submission API by implementing network security measures, such as firewalls or VPNs, to limit exposure to trusted networks only.

Conclusion

CVE-2023-48022 represents a significant security risk for users of the Ray package due to its arbitrary code execution vulnerability. It is crucial for users to update to the latest version to protect their systems and data. Implementing network security measures can provide temporary relief until an update can be applied.

See every vulnerability recorded for ray →

Share this vulnerability

FAQ

CVE-2023-48022 is a critical vulnerability in the Ray package that allows remote attackers to execute arbitrary code via the job submission API.

The affected versions of Ray range from 0 to 2.49.2. Users should upgrade to version 2.49.3 or later to mitigate the vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The CVSS score for CVE-2023-48022 is 9.8, indicating a critical level of severity.

If immediate updates are not possible, implement network security measures to restrict access to the job submission API, ensuring it is only accessible within a controlled environment.

Related vulnerabilities

Recent vulnerabilities recorded for ray.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback