Security Digest · Vulnerability record

CVE-2023-6021: Ray Path Traversal vulnerability

LFI in Ray's log API endpoint allows attackers to read any file on the server without authentication.

CVSS 7.5 High EPSS 37.1% · p99

Should you act?

High exploit likelihood

EPSS ranks it in the top 5% of all CVEs for likely exploitation in the next 30 days. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • 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

From the GitHub advisory

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

Weakness type: CWE-29, CWE-22.

Product: ray (PyPI) · Assigned by: @huntr_ai · Published: 2023-11-16

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
PyPIray< 2.8.12.8.1
VendorProductAffected versions (per CVE record)
ray-projectray-project/rayunspecified <= latest

Severity scores

Scored byCVSSScoreVector
@huntr_ai3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
GitHub3.19.3 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
  • Attack vector: network (remotely reachable)
  • Attack complexity: low
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: unchanged

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • 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.

Timeline

  • — CVE record published by @huntr_ai
  • — GitHub-reviewed advisory GHSA-3pww-qvr8-6mhp published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-3pww-qvr8-6mhp github.com
  2. CVE.org record CVE-2023-6021 cve.org
  3. NVD entry CVE-2023-6021 nvd.nist.gov

Other references from the CVE record and advisory

  1. huntr.com huntr.com
  2. anyscale.com anyscale.com
  3. github.com github.com

Critical PyPI advisories · Today’s Security Digest