---
title: "CVE-2023-48022: Ray has arbitrary code execution via jobs submission API"
url: https://erroneo.us/security/cve/CVE-2023-48022/
description: "CVE-2023-48022 (ray (PyPI)): Anyscale Ray 2.6.3 and 2.8.0 allows a remote attacker to execute arbitrary code via the job submission API. NOTE: the vendor's…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-11-28
date_modified: 2026-10-21
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-48022"
kev: false
cvss: 9.8
epss: 0.83942
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-48022: Ray has arbitrary code execution via jobs submission API

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 83.9% , percentile 99.7: FIRST’s model estimates a 83.9% chance of exploitation activity in the next 30 days, higher than 99.7% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes ray (PyPI) <= 2.49.2, no fixed version listed . Check your lockfile, including transitive dependencies.
- Editorial verdict: Check exposure. ShadowRay: Exposed Ray Clusters Hijacked (CVE-2023-48022) — There is no patch to install: if any Ray dashboard, Jobs or Client port is reachable from an untrusted network, anyone who can reach it can run code on your cluster.

## What it is

Anyscale Ray 2.6.3 and 2.8.0 allows a remote attacker to execute arbitrary code via the job submission API. NOTE: the vendor's position is that this report is irrelevant because Ray, as stated in its documentation, is not intended for use outside of a strictly controlled network environment. (Also, within that environment, customers at version 2.52.0 and later can choose to use token authentication.)

## Affected packages

- PyPI `ray` <= 2.49.2 → fixed: none listed

## Affected products (CVE record)

- n/a n/a: see advisory

## Severity

- CISA-ADP CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub CVSS 3.1: 9.8 `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact total .
- FIRST EPSS (model of 2026-10-21): 83.94% probability of exploitation activity in the next 30 days; percentile 99.7.

## Sources

- [GitHub Advisory GHSA-6wgj-66m2-xxp2](https://github.com/advisories/GHSA-6wgj-66m2-xxp2)
- [CVE.org record CVE-2023-48022](https://www.cve.org/CVERecord?id=CVE-2023-48022)
- [NVD entry CVE-2023-48022](https://nvd.nist.gov/vuln/detail/CVE-2023-48022)
- [bishopfox.com](https://bishopfox.com/blog/ray-versions-2-6-3-2-8-0)
- [docs.ray.io](https://docs.ray.io/en/latest/ray-security/index.html)
- [vicarius.io](https://www.vicarius.io/vsociety/posts/shadowray-cve-2023-48022-exploit)
- [atlas.mitre.org](https://atlas.mitre.org/studies/AML.CS0023)
- [docs.ray.io](https://docs.ray.io/en/latest/ray-security/token-auth.html)
- [vicarius.io](https://www.vicarius.io/vsociety/posts/the-story-of-shadowray-cve-2023-48022)
- [github.com](https://github.com/ray-project/ray/commit/978947083b1e192dba61ef653c863b11d56b0936)
- [console.vulncheck.com](https://console.vulncheck.com/cve/CVE-2023-48022)
- [github.com](https://github.com/advisories/GHSA-xg2h-7cxj-3gvh)
- [github.com](https://github.com/honysyang/Ray)
- [anyscale.com](https://www.anyscale.com/blog/update-on-ray-cve-2023-48022-new-verification-tooling-available)
- [oligo.security](https://www.oligo.security/blog/shadowray-attack-ai-workloads-actively-exploited-in-the-wild)
- [vulncheck.com](https://www.vulncheck.com/blog/initial-access-intelligence-august-2024)

---
Source page: https://erroneo.us/security/cve/CVE-2023-48022/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
