{"schemaVersion":3,"id":"CVE-2023-6019","aliases":["GHSA-h3xg-wv58-5p43","PYSEC-2026-519"],"status":"published","duplicateOf":null,"title":null,"description":"A command injection existed in Ray's cpu_profile URL parameter allowing attackers to execute os commands on the system running the ray dashboard remotely 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","dates":{"published":"2023-11-16T16:12:07.652Z","modified":"2024-08-02T08:21:17.025Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.8,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.7463,"percentile":0.99498,"severity":"critical","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.7463},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.7463,"percentile":0.99498}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.7463,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.7463,"percentile":0.99498}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_4F9413B61B9C0BB3","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/d0290f3c-b302-4161-89f2-c13bb28b4cfe","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"51978","name":"Ray OS v2.6.3 - Command Injection RCE(Unauthorized)","source":"exploit-database","url":"https://www.exploit-db.com/exploits/51978","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["python"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"python","file":"exploits/python/webapps/51978.txt","codes":["CVE-2023-6019"]},"metasploit":null},{"id":"MSF_EXPLOIT_LINUX_HTTP_RAY_CPU_PROFILE_CMD_INJECTION_CVE_2023_6019","name":"Ray cpu_profile command injection","source":"metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploit/linux/http/ray_cpu_profile_cmd_injection_cve_2023_6019.rb","maturity":"weaponized","reliabilityScore":1,"verified":true,"type":"remote","platforms":[],"requiresAuth":false,"exploitdb":null,"metasploit":{"fullname":"exploit/linux/http/ray_cpu_profile_cmd_injection_cve_2023_6019","rank":"600","rankName":"excellent","postAuth":false,"check":true,"stability":["crash-safe"],"sideEffects":["artifacts-on-disk","ioc-in-logs"],"reliability":["repeatable-session"]}}],"exploitCount":3,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"}],"affected":[{"vendor":"PyPI","product":"ray","name":"ray","label":"ray","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/ray","purlType":"pypi","versions":[{"text":"< 2.8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.8.1","eol":null,"hubHref":null},{"vendor":"ray_project","product":"ray","name":"ray","label":"ray","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"na","noFixRecorded":false,"fixedIn":null}],"versionsText":"na","eol":null,"hubHref":"/vendor/ray_project/ray"},{"vendor":"ray-project","product":"ray-project/ray","name":"ray-project/ray","label":"ray-project/ray","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/ray-project/ray-projectray"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/d0290f3c-b302-4161-89f2-c13bb28b4cfe","label":"huntr.com/bounties/d0290f3c-b302-4161-89f2-c13bb28b4cfe","hostname":"huntr.com","tags":["WEB","Exploit"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6019","label":"nvd.nist.gov/vuln/detail/CVE-2023-6019","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ray-project/ray","label":"github.com/ray-project/ray","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ray-project/ray/releases/tag/ray-2.8.1","label":"github.com/ray-project/ray/releases/tag/ray-2.8.1","hostname":"github.com","tags":["WEB"]},{"url":"https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023","label":"www.anyscale.com/blog/…","hostname":"www.anyscale.com","tags":["WEB"]},{"url":"https://pypi.org/project/ray","label":"pypi.org/project/ray","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-h3xg-wv58-5p43","label":"github.com/advisories/GHSA-h3xg-wv58-5p43","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2023-11-16T16:12:07.652Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T08:21:17.025Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T19:11:43.703Z","stale":false,"partial":false}}