CVE-2023-48022 Ray has arbitrary code execution via jobs submission API
Remote attackers can execute arbitrary code via the job submission API in Ray, requiring network isolation or token authentication for mitigation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-48022?
CVE-2023-48022 is a critical server-side request forgery vulnerability in n/a, published on 28 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.)
Weakness: CWE-918
Which versions are affected by CVE-2023-48022?
3 open source packages ship an affected version, including ray. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
ray PyPI | All versions to 2.49.2 | None |
ray PyPI | All versions to 2.49.2 | None |
ray PyPI | All versions to 2.49.2 | None |
Products include Anyscale Ray.
How do I fix CVE-2023-48022?
Change a configuration setting.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2023-48022 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-48022 exists.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 2 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2025-62593 Ray-Project Ray Code Injection
- CVE-2023-48023 Server-side request forgery in n/a
- CVE-2026-41486 Ray: Remote Code Execution via Parquet Arrow Extension Type Deserialization
- CVE-2026-32981 Ray Dashboard <= 2.8.0 Path Traversal Leading to Local File Disclosure
- CVE-2026-57516 Ray < 2.56.0 Unsafe Deserialization RCE via WebDataset Reader
Sources
Also known as CVE-2024-57000, GHSA-6wgj-66m2-xxp2, MINI-272g-gqhc-wpg6, PYSEC-2026-517.