CVE-2023-6021Ray Project Ray
High 7.5 No auth needed
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Nov 16, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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
What to do
- Apply the vendor's security update for Ray.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | ray |
< 2.8.1 |
2.8.1 |
pip install "ray>=2.8.1" |
| PyPI | ray |
< 2.8.1 |
2.8.1 |
pip install "ray>=2.8.1" |
Per OSV / GitHub Advisories (GHSA-3pww-qvr8-6mhp, PYSEC-2026-515). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ray_project | ray | all |
Official sources
References
Links published by the sources. Open them with care.
- huntr.com Exploit