Ray Static File Local File Include
Description
LFI vulnerability in Ray's /static/ directory allows unauthenticated attackers to read arbitrary files on the server.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
LFI vulnerability in Ray's /static/ directory allows unauthenticated attackers to read arbitrary files on the server.
CVE-2023-6020 is a local file inclusion (LFI) vulnerability in the Ray distributed computing framework. The bug resides in the /static/ directory handler, which fails to properly sanitize user-supplied paths, enabling an attacker to traverse directories and read arbitrary files on the server without authentication [1] [3].
Exploitation requires network access to the Ray Dashboard or any service exposing the /static/ endpoint. No authentication is needed; an attacker can simply craft a malicious URL with path traversal sequences (e.g., ../) to read sensitive files such as configuration files, SSH keys, or application code [1]. The vulnerability is present in all versions prior to Ray 2.8.1 [2].
Successful exploitation allows an attacker to read any file on the server, potentially leading to information disclosure, credential theft, or further compromise of the Ray cluster [3].
A fix was released in Ray version 2.8.1, which introduces proper path validation in the static file handler [2]. Users are strongly advised to upgrade to the latest version and ensure Ray clusters are not exposed to untrusted networks [3] [4].
- NVD - CVE-2023-6020
- Release Ray-2.8.1 · ray-project/ray
- Update on Ray CVEs CVE-2023-6019, CVE-2023-6020, CVE-2023-6021, CVE-2023-48022, CVE-2023-48023
- GitHub - ray-project/ray: Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rayPyPI | < 2.8.1 | 2.8.1 |
Affected products
2- ray-project/ray-project/rayv5Range: unspecified
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- github.com/advisories/GHSA-6cxr-8q3m-jwrrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2023-6020ghsaADVISORY
- github.com/ray-project/ray/releases/tag/ray-2.8.1ghsaWEB
- huntr.com/bounties/83dd8619-6dc3-4c98-8f1b-e620fedcd1f6ghsaWEB
- www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023ghsaWEB
News mentions
0No linked articles in our index yet.