# CVE-2023-6021: Ray Log File Local File Include

- Severity: High 7.5 (CVSS:3.1, scored by @huntr_ai) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 37.4%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-11-16T16:11:42.969Z
- Modified: 2026-11-16T16:15:05.470Z
- Also known as: GHSA-3pww-qvr8-6mhp, PYSEC-2026-515
- Weaknesses: CWE-22, CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: @huntr_ai

## Description

LFI in Ray's log API endpoint 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

(As written by CVE List.)

## Affected

- ray-project ray-project/ray: from unspecified up to latest
- ray (PyPI): before 2.8.1
- ray_project ray: no versions given

## Every score

- @huntr_ai: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.0 9.3 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- PyPA Advisory Database: CVSS:3.0 9.3 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`

## References

- <https://huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-6021> (advisory)
- <https://github.com/pypa/advisory-database/tree/main/vulns/ray/PYSEC-2026-515.yaml> (web)
- <https://github.com/ray-project/ray> (web)
- <https://github.com/ray-project/ray/releases/tag/ray-2.8.1> (web)
- <https://pypi.org/project/ray> (package, web)
- <https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023> (web)
- <https://github.com/advisories/GHSA-3pww-qvr8-6mhp> (advisory)

## Sources

- CVE List: [CVE-2023-6021](https://www.cve.org/CVERecord?id=CVE-2023-6021), CVE Terms of Use, modified 2024-11-27
- GitHub Advisory Database: [GHSA-3pww-qvr8-6mhp](https://github.com/advisories/GHSA-3pww-qvr8-6mhp), CC-BY-4.0, modified 2026-11-16
- NVD: [CVE-2023-6021](https://nvd.nist.gov/vuln/detail/CVE-2023-6021), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-515](https://osv.dev/vulnerability/PYSEC-2026-515), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2023-6021 · Whole record: https://cve.day/CVE-2023-6021.json · Rebuilt by cve.day 2026-11-25T22:58:30.549Z
