CVE-2023-48022: Ray has arbitrary code execution via jobs submission API
Anyscale Ray 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.
Published Nov 28, 2023 · Updated Dec 20, 2025
Affected packages
ray
- Ecosystem
- PyPI
- Affected
- <= 2.49.2
- Fixed in
- No patched version yet
- Check
pip show ray
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Anyscale Ray 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.
Credited to JLLeitschuh.
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-48022
- https://bishopfox.com/blog/ray-versions-2-6-3-2-8-0
- https://docs.ray.io/en/latest/ray-security/index.html
- https://www.vicarius.io/vsociety/posts/shadowray-cve-2023-48022-exploit
- https://atlas.mitre.org/studies/AML.CS0023
- https://github.com/ray-project/ray/commit/978947083b1e192dba61ef653c863b11d56b0936
- https://console.vulncheck.com/cve/CVE-2023-48022
- https://github.com/advisories/GHSA-xg2h-7cxj-3gvh
- https://github.com/honysyang/Ray
- https://www.anyscale.com/blog/update-on-ray-cve-2023-48022-new-verification-tooling-available
- https://www.oligo.security/blog/shadowray-attack-ai-workloads-actively-exploited-in-the-wild
- https://www.vulncheck.com/blog/initial-access-intelligence-august-2024
- https://docs.ray.io/en/latest/ray-security/token-auth.html
- https://www.vicarius.io/vsociety/posts/the-story-of-shadowray-cve-2023-48022
- https://github.com/advisories/GHSA-6wgj-66m2-xxp2
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Ray vulnerabilities
All Ray entriesCVE-2026-57516
Ray: Arbitrary code execution via ray.data.read_webdataset default decoder: pickle.loads(value) and torch.load(weights_only=False)
high8.8Jul 24, 2026CVE-2026-41486
Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization
high8.9Apr 24, 2026CVE-2026-32981
Ray Dashboard is vulnerable to path traversal through its static file handling mechanism
high7.5Mar 17, 2026CVE-2026-27482
Ray dashboard DELETE endpoints allow unauthenticated browser-triggered DoS (Serve shutdown / job deletion)
medium5.9Feb 20, 2026CVE-2025-34351
Ray's New Token Authentication is Disabled By Default
critical9.3No fixNov 27, 2025CVE-2025-62593
Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack
critical9.4ExploitedNov 26, 2025
