CVE-2023-6020: Ray Missing Authorization vulnerability
Ray before 2.8.1 serves files from its `/static/` directory without a check that keeps requests inside it. An unauthenticated attacker can read any file on the server that the Ray process can read. Upgrade to Ray 2.8.1.
Published Nov 16, 2023 · Updated Jan 9, 2025 · Analysis Nov 2, 2026
What an attacker can do
The advisory describes a local file inclusion in Ray's /static/ directory handler on the dashboard. A request to a crafted /static/ path returns the contents of an arbitrary file, with no login. The weakness list names missing authorization (CWE-862) and sensitive data in a GET request (CWE-598).
The attacker needs network access to the dashboard port, 8265 by default. The reach is file read, not write or execution, which matches the high confidentiality and low integrity rating in the CVSS 3.0 vector, with scope changed.
What an attacker takes depends on what the Ray process can read: SSH keys, cloud credentials in the home directory, environment files, application config and the cluster's own data. Stolen credentials are the usual route to a wider compromise. Anyscale's response blog confirms the fix ships in Ray 2.8.1 and gives no further technical detail about this item.
Who is affected
The pip package ray below 2.8.1, with the dashboard reachable by untrusted hosts. Check your version:
pip show rayA dashboard bound to 0.0.0.0 or published through a load balancer is the exposed case.
ray
- Ecosystem
- PyPI
- Affected
- < 2.8.1
- Fixed in
- 2.8.1
- Check
pip show ray
How to fix it
Upgrade to Ray 2.8.1.
pip install -U "ray>=2.8.1"The sources list no workaround. Until you upgrade, firewall port 8265, bind the dashboard to a trusted interface only, and keep secrets out of files the Ray user can read. Rotate credentials that sat on an exposed node.
How to tell if you were hit
Search dashboard and reverse proxy logs for requests under /static/ containing .., encoded dots or absolute paths, and for responses with unusually large or non-asset bodies. Review access to sensitive files from the Ray process. If the dashboard was open to the internet on a vulnerable version, assume files were read and rotate the secrets they held.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
LFI in Ray's /static/ directory allows attackers to read any file on the server without authentication. The issue is fixed in version 2.8.1+. Ray maintainers response can be found here: https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023
Credited to cpropps-sysdig.
Questions
- What can the attacker read?
Any file the Ray process can read, such as keys, tokens and config. The advisory says any file on the server, with no authentication.
- Which version fixes CVE-2023-6020?
Ray 2.8.1 and later. Versions below are affected.
- Can this flaw write files or run code?
The advisory describes file reads only. A separate flaw, CVE-2023-6019, is a command injection in the same dashboard that is fixed in the same release.
- Is it exploited in the wild?
No source I read says so for this CVE, and the entry has no CISA KEV data.
References
Read for this analysis:
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. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. 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
