---
title: "CVE-2023-6021: Ray Path Traversal vulnerability"
url: https://erroneo.us/security/cve/CVE-2023-6021/
description: "CVE-2023-6021 (ray (PyPI)): LFI in Ray's log API endpoint allows attackers to read any file on the server without authentication. The issue is fixed in…"
type: vulnerability-record
section: "Security Digest"
date_published: 2023-11-16
date_modified: 2025-01-09
publisher: erroneo.us
author: erroneo.us Security Desk
cve: "CVE-2023-6021"
kev: false
cvss: 7.5
epss: 0.37076
license: All rights reserved. Quote with attribution and a link.
---

# CVE-2023-6021: Ray Path Traversal vulnerability

**Signal:** High exploit likelihood. EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. (Computed from CISA KEV, EPSS and CVSS; not an editorial verdict.)

## Should you act?

- Not in CISA KEV , but CISA’s SSVC assessment records a public proof-of-concept, so attack code exists.
- EPSS 37.1% , percentile 99: FIRST’s model estimates a 37.1% chance of exploitation activity in the next 30 days, higher than 99% of all scored CVEs (very high). EPSS is a probability, not a verdict.
- Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
- Only applies if your dependency tree includes ray (PyPI) < 2.8.1, fixed in 2.8.1 . Check your lockfile, including transitive dependencies.

## What it is

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

## Affected packages

- PyPI `ray` < 2.8.1 → fixed: 2.8.1

## Affected products (CVE record)

- ray-project ray-project/ray: unspecified <= latest

## Severity

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

## Exploitation

- CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
- CISA SSVC assessment: exploitation poc , automatable yes , technical impact partial .
- FIRST EPSS (model of 2026-10-21): 37.08% probability of exploitation activity in the next 30 days; percentile 99.

## Sources

- [GitHub Advisory GHSA-3pww-qvr8-6mhp](https://github.com/advisories/GHSA-3pww-qvr8-6mhp)
- [CVE.org record CVE-2023-6021](https://www.cve.org/CVERecord?id=CVE-2023-6021)
- [NVD entry CVE-2023-6021](https://nvd.nist.gov/vuln/detail/CVE-2023-6021)
- [huntr.com](https://huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8)
- [anyscale.com](https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023)
- [github.com](https://github.com/ray-project/ray/releases/tag/ray-2.8.1)

---
Source page: https://erroneo.us/security/cve/CVE-2023-6021/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
