{"id":"CVE-2023-6021","kind":"vulnerability","aliases":["CVE-2023-6021","GHSA-3pww-qvr8-6mhp"],"related":[],"title":"Ray Path Traversal vulnerability","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","summary":"Ray's log API endpoint accepts paths that escape its log directory, so a request can read any file the Ray process can access. No login is needed to make the request.","severity":"critical","cvss":9.3,"epss":0.37076,"exploited":false,"exploited_at":null,"products":[{"name":"ray","fixed":["2.8.1"],"affected":"< 2.8.1","ecosystem":"pypi"},{"name":"ray project ray","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["cwe-22","cwe-29","ml-infrastructure","package","python","ray"],"not_affected_if":["auth-required","local-only"],"how_to_check":"- Check the installed version with `pip show ray` and compare it to `2.8.1`.\n- Look for a Ray dashboard or log API reachable from untrusted networks.","fix":"- Upgrade `ray` to `2.8.1` or later.","status":"open","published_at":"2023-11-16T17:15:09+00:00","first_seen_at":"2026-11-16T16:08:24+00:00","triaged_at":"2026-11-16T16:08:58+00:00","updated_at":"2026-11-16T16:38:06+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T16:08:58Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade `ray` to `2.8.1` or later.","reach":"network","title":"Ray: log API path traversal lets anyone read server files","impact":"high","summary":"Ray's log API endpoint accepts paths that escape its log directory, so a request can read any file the Ray process can access. No login is needed to make the request.","audience":"developers","category":"package","nicknames":[],"who_cares":["ray","python","ml-infrastructure"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"any server file readable, including secrets and credentials","analyst_note":"","how_to_check":"- Check the installed version with `pip show ray` and compare it to `2.8.1`.\n- Look for a Ray dashboard or log API reachable from untrusted networks.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["local-only","auth-required"],"who_is_affected":"Teams that run Ray clusters or the Ray dashboard where the log API can be reached by untrusted clients. Ray installs that are not exposed to the network and are used only locally carry much less risk. unknown for whether the dashboard is exposed by default.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000691,"input_tokens":4630,"output_tokens":455,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2023':6A,14A '-22':21B '-29':23B '-6021':7A,15A '/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023':96C '2.8.1':86C '3pww':10A '6mhp':12A 'accept':35B 'access':53B 'allow':69C 'api':33B,67C 'attack':70C 'authent':79C 'cve':5A,13A 'cwe':20B,22B 'directori':41B 'endpoint':34B,68C 'escap':38B 'file':48B,74C 'fix':83C 'found':92C 'ghsa':9A 'ghsa-3pww-qvr8-6mhp':8A 'infrastructur':26B 'issu':81C 'lfi':62C 'log':32B,40B,66C 'login':55B 'maintain':88C 'make':59B 'ml':25B 'ml-infrastructur':24B 'need':57B 'packag':27B 'path':2A,36B 'process':51B 'project':18A 'python':28B 'qvr8':11A 'ray':1A,16A,17A,19A,29B,30B,50B,64C,87C 'read':46B,72C 'request':44B,61B 'respons':89C 'server':77C 'travers':3A 'version':85C 'vulner':4A 'without':78C 'www.anyscale.com':95C 'www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023':94C","nicknames":[],"mitigations":[],"who_affected":"Teams that run Ray clusters or the Ray dashboard where the log API can be reached by untrusted clients. Ray installs that are not exposed to the network and are used only locally carry much less risk. unknown for whether the dashboard is exposed by default.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["projectray","ray","rayprojectray"],"ptokens":["project","ray"],"labels":["critical","cwe22","cwe29","mlinfrastructure","package","pypi","python","ray","vendor"],"campaign_type":null,"search_a":"'-2023':6A,14A '-6021':7A,15A '3pww':10A '6mhp':12A 'cve':5A,13A 'ghsa':9A 'ghsa-3pww-qvr8-6mhp':8A 'path':2A 'project':18A 'qvr8':11A 'ray':1A,16A,17A,19A 'travers':3A 'vulner':4A","search_b":"'-22':21B '-29':23B 'accept':35B 'access':53B 'api':33B 'cwe':20B,22B 'directori':41B 'endpoint':34B 'escap':38B 'file':48B 'infrastructur':26B 'log':32B,40B 'login':55B 'make':59B 'ml':25B 'ml-infrastructur':24B 'need':57B 'packag':27B 'path':36B 'process':51B 'python':28B 'ray':29B,30B,50B 'read':46B 'request':44B,61B","search_c":"'/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023':96C '2.8.1':86C 'allow':69C 'api':67C 'attack':70C 'authent':79C 'endpoint':68C 'file':74C 'fix':83C 'found':92C 'issu':81C 'lfi':62C 'log':66C 'maintain':88C 'ray':64C,87C 'read':72C 'respons':89C 'server':77C 'version':85C 'without':78C 'www.anyscale.com':95C 'www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023':94C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2023-11-16T17:15:09+00:00","kev":null,"cvss_vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N","cvss_by":"GitHub","poc_count":1,"sources":[{"source":"ghsa","external_id":"GHSA-3pww-qvr8-6mhp","url":"https://github.com/advisories/GHSA-3pww-qvr8-6mhp","severity":"critical","published_at":"2023-11-16T18:30:31+00:00","modified_at":"2026-11-16T16:07:00+00:00","first_seen_at":"2026-11-16T16:08:24+00:00","fetched_at":"2026-11-16T16:17:15+00:00","note":null},{"source":"nvd","external_id":"CVE-2023-6021","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6021","severity":null,"published_at":"2023-11-16T17:15:09+00:00","modified_at":"2026-06-17T06:49:52+00:00","first_seen_at":"2026-11-16T16:38:06+00:00","fetched_at":"2026-11-16T16:38:06+00:00","note":null}],"documents":[{"id":171031,"url":"https://github.com/ray-project/ray/releases/tag/ray-2.8.1","title":"Release: github.com","kind":"release","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release: github.com"},{"id":171353,"url":"https://huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8","title":"Exploit: huntr.com","kind":"poc","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"poc","confidence":null,"note":"Exploit: huntr.com"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://huntr.com/bounties/5039c045-f986-4cbc-81ac-370fe4b0d3f8"},{"type":"epss","score":0.37076,"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-6021"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}