{"id":"CVE-2023-48022","kind":"vulnerability","aliases":["CVE-2023-48022","GHSA-6wgj-66m2-xxp2"],"related":[],"title":"Ray has arbitrary code execution via jobs submission API","description":"Anyscale Ray 2.6.3 and 2.8.0 allows a remote attacker to execute arbitrary code via the job submission API. NOTE: the vendor's position is that this report is irrelevant because Ray, as stated in its documentation, is not intended for use outside of a strictly controlled network environment. (Also, within that environment, customers at version 2.52.0 and later can choose to use token authentication.)","summary":"Ray, a Python framework for distributed computing, has a job submission API that accepts requests an attacker can send over the network to make the server execute arbitrary code. The vendor disputes the report, saying Ray is only meant for strictly controlled networks.","severity":"critical","cvss":9.8,"epss":0.83942,"exploited":false,"exploited_at":null,"products":[{"name":"ray","fixed":[],"affected":"<= 2.49.2","ecosystem":"pypi"},{"name":"anyscale ray","fixed":[],"affected":"= 2.6.3","ecosystem":"vendor"},{"name":"anyscale ray","fixed":[],"affected":"= 2.8.0","ecosystem":"vendor"},{"via":"cpe","name":"ray","fixed":[],"affected":"= 2.6.3","ecosystem":"pypi"},{"via":"cpe","name":"ray","fixed":[],"affected":"= 2.8.0","ecosystem":"pypi"}],"ecosystems":["pypi","vendor"],"tags":["cwe-829","cwe-918","data-science","package","python","ray","self-hosted"],"not_affected_if":["controlled-network-only","no-job-submission-exposed"],"how_to_check":"- Check the installed version with `pip show ray`; versions up to and including `2.49.2` are listed as affected.\n- Look for a Ray dashboard or job submission endpoint reachable from outside a controlled network.","fix":"- Ray: the sources do not state a fixed version.","status":"open","published_at":"2023-11-28T08:15:06+00:00","first_seen_at":"2026-11-16T16:23:45+00:00","triaged_at":"2026-11-16T16:25:27+00:00","updated_at":"2026-11-16T16:38:06+00:00","category":"package","confidence":0.7,"triage":{"at":"2026-11-16T16:25:27Z","model":"claude-haiku-5-5","output":{"fix":"- Ray: the sources do not state a fixed version.","reach":"network","title":"Ray: job submission API lets remote attackers run arbitrary code","impact":"high","summary":"Ray, a Python framework for distributed computing, has a job submission API that accepts requests an attacker can send over the network to make the server execute arbitrary code. The vendor disputes the report, saying Ray is only meant for strictly controlled networks.","audience":"developers","category":"package","nicknames":[],"who_cares":["ray","python","data-science","self-hosted"],"confidence":0.7,"fix_status":"unknown","needs_auth":"unknown","worst_case":"Remote attacker runs arbitrary code on the Ray cluster.","analyst_note":"Confirm the fixed version and whether the job submission API requires authentication by checking the GHSA-6wgj-66m2-xxp2 advisory and the linked patch.","how_to_check":"- Check the installed version with `pip show ray`; versions up to and including `2.49.2` are listed as affected.\n- Look for a Ray dashboard or job submission endpoint reachable from outside a controlled network.","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["controlled-network-only","no-job-submission-exposed"],"who_is_affected":"Teams that run a Ray cluster with the job submission API reachable from networks they do not fully control are exposed. Clusters kept strictly inside a controlled network, as the vendor documentation recommends, are a lower risk. unknown whether the sources give further configuration detail.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000744,"input_tokens":4591,"output_tokens":569,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-2023':11A,19A '-48022':12A,20A '-829':29B '-918':31B '2.52.0':139C '2.6.3':86C '2.8.0':88C '66m2':16A '6wgj':15A 'accept':54B 'allow':89C 'also':132C 'anyscal':84C 'anyscale':22A,24A 'api':9A,52B,101C 'arbitrari':3A,68B,95C 'attack':57B,92C 'authent':147C 'choos':143C 'code':4A,69B,96C 'comput':47B 'control':82B,129C 'custom':136C 'cve':10A,18A 'cwe':28B,30B 'data':33B 'data-sci':32B 'disput':72B 'distribut':46B 'document':119C 'environ':131C,135C 'execut':5A,67B,94C 'framework':44B 'ghsa':14A 'ghsa-6wgj-66m2-xxp2':13A 'host':40B 'intend':122C 'irrelev':112C 'job':7A,50B,99C 'later':141C 'make':64B 'meant':79B 'network':62B,83B,130C 'note':102C 'outsid':125C 'packag':35B 'posit':106C 'python':36B,43B 'ray':1A,21A,23A,25A,26A,27A,37B,41B,76B,85C,114C 'remot':91C 'report':74B,110C 'request':55B 'say':75B 'scienc':34B 'self':39B 'self-host':38B 'send':59B 'server':66B 'state':116C 'strict':81B,128C 'submiss':8A,51B,100C 'token':146C 'use':124C,145C 'vendor':71B,104C 'version':138C 'via':6A,97C 'within':133C 'xxp2':17A","nicknames":[],"mitigations":[],"who_affected":"Teams that run a Ray cluster with the job submission API reachable from networks they do not fully control are exposed. Clusters kept strictly inside a controlled network, as the vendor documentation recommends, are a lower risk. unknown whether the sources give further configuration detail.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":["anyscaleray","ray"],"ptokens":["anyscale","ray"],"labels":["critical","cwe829","cwe918","datascience","package","pypi","python","ray","selfhosted","vendor"],"campaign_type":null,"search_a":"'-2023':11A,19A '-48022':12A,20A '66m2':16A '6wgj':15A 'anyscale':22A,24A 'api':9A 'arbitrari':3A 'code':4A 'cve':10A,18A 'execut':5A 'ghsa':14A 'ghsa-6wgj-66m2-xxp2':13A 'job':7A 'ray':1A,21A,23A,25A,26A,27A 'submiss':8A 'via':6A 'xxp2':17A","search_b":"'-829':29B '-918':31B 'accept':54B 'api':52B 'arbitrari':68B 'attack':57B 'code':69B 'comput':47B 'control':82B 'cwe':28B,30B 'data':33B 'data-sci':32B 'disput':72B 'distribut':46B 'execut':67B 'framework':44B 'host':40B 'job':50B 'make':64B 'meant':79B 'network':62B,83B 'packag':35B 'python':36B,43B 'ray':37B,41B,76B 'report':74B 'request':55B 'say':75B 'scienc':34B 'self':39B 'self-host':38B 'send':59B 'server':66B 'strict':81B 'submiss':51B 'vendor':71B","search_c":"'2.52.0':139C '2.6.3':86C '2.8.0':88C 'allow':89C 'also':132C 'anyscal':84C 'api':101C 'arbitrari':95C 'attack':92C 'authent':147C 'choos':143C 'code':96C 'control':129C 'custom':136C 'document':119C 'environ':131C,135C 'execut':94C 'intend':122C 'irrelev':112C 'job':99C 'later':141C 'network':130C 'note':102C 'outsid':125C 'posit':106C 'ray':85C,114C 'remot':91C 'report':110C 'state':116C 'strict':128C 'submiss':100C 'token':146C 'use':124C,145C 'vendor':104C 'version':138C 'via':97C 'within':133C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2023-11-28T08:15:06+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cvss_by":"GitHub","poc_count":1,"sources":[{"source":"ghsa","external_id":"GHSA-6wgj-66m2-xxp2","url":"https://github.com/advisories/GHSA-6wgj-66m2-xxp2","severity":"critical","published_at":"2023-11-28T09:30:26+00:00","modified_at":"2026-11-16T16:20:08+00:00","first_seen_at":"2026-11-16T16:23:45+00:00","fetched_at":"2026-11-16T16:27:17+00:00","note":null},{"source":"nvd","external_id":"CVE-2023-48022","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-48022","severity":null,"published_at":"2023-11-28T08:15:06+00:00","modified_at":"2026-06-17T06:33:31+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":171199,"url":"https://github.com/ray-project/ray/commit/978947083b1e192dba61ef653c863b11d56b0936","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":171309,"url":"https://bishopfox.com/blog/ray-versions-2-6-3-2-8-0","title":"Exploit: bishopfox.com","kind":"poc","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"poc","confidence":null,"note":"Exploit: bishopfox.com"},{"id":171310,"url":"https://docs.ray.io/en/latest/ray-security/index.html","title":"Release notes: docs.ray.io","kind":"release","source":"nvd","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Release notes: docs.ray.io"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://bishopfox.com/blog/ray-versions-2-6-3-2-8-0"},{"type":"epss","score":0.83942,"url":"https://api.first.org/data/v1/epss?cve=CVE-2023-48022"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}