CVE-2023-48022 in the critical feed json
Ray has arbitrary code execution via jobs submission API
published 2023-11-28 2 y ago modified 2026-09-10 1 mo ago also GHSA-6wgj-66m2-xxp2 , PYSEC-2026-517 , EUVD-2023-52111
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 83.9%
- EPSS 83.9% chance of exploitation in 30 days, percentile 99.6%
- public exploits
- 1
- Metasploit, plus a Nuclei check
Summary
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.)
Patch / fix
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-48022 updated
ray: Ray Job Submission Arbitrary Code Execution
-
Red Hat AI Inference Server 3.2 rhaiis 1772160593, rhaiis 1772160625, rhaiis 3.2.2-1764871796, rhaiis 3.2.2-1765379049, rhaiis 3.2.2-1765379088fixed: vendor fix RHSA-2025:23080
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-rhel8-operator, rhoai/odh-rhel9-operator, rhoai/odh-dashboard-rhel8, rhoai/odh-modelmesh-rhel8, rhoai/odh-modelmesh-rhel9, rhoai/odh-mm-rest-proxy-rhel8, +40 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/linux/http/ray_agent_job_rce)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
83.94% chance of exploitation in the next 30 days, higher than 99.6% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/http/ray_agent_job_rce Ray Agent Job RCE metasploit exploit, excellent rank, 2023-11-15
- Nuclei template Anyscale Ray - Remote Code Execution nuclei detection template
- bishopfox.com https://bishopfox.com/blog/ray-versions-2-6-3-2-8-0 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | ray | <=2.49.2 |
no fix listed |
Affected products
- anyscale ray
Classification
References
-
github.com
/ray-project/ray/commit/978947083b1e192dba61ef653c863b11d56b0936
web
-
bishopfox.com
/blog/ray-versions-2-6-3-2-8-0
web, exploit, third-party-advisory
-
docs.ray.io
/en/latest/ray-security/index.html
web, product, release-notes
-
vicarius.io
/vsociety/posts/shadowray-cve-2023-48022-exploit
web
-
atlas.mitre.org
/studies/AML.CS0023
web
-
docs.ray.io
/en/latest/ray-security/token-auth.html
web
-
vicarius.io
/vsociety/posts/the-story-of-shadowray-cve-2023-48022
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-48022
advisory
-
console.vulncheck.com
/cve/CVE-2023-48022
web
-
github.com
/advisories/GHSA-xg2h-7cxj-3gvh
advisory
-
github.com
/honysyang/Ray
web
-
github.com
/ray-project/ray
package
-
anyscale.com
/blog/update-on-ray-cve-2023-48022-new-verification-tooling-available
web
-
oligo.security
/blog/shadowray-attack-ai-workloads-actively-exploited-in-the-wild
web
-
vulncheck.com
/blog/initial-access-intelligence-august-2024
web
-
pypi.org
/project/ray
package
-
github.com
/advisories/GHSA-6wgj-66m2-xxp2
advisory
Sources
- CVE List CVE-2023-48022
- GitHub Advisory GHSA-6wgj-66m2-xxp2
- NVD CVE-2023-48022
- OSV PYSEC-2026-517
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.