---
id: CVE-2023-6019
aliases:
  - GHSA-h3xg-wv58-5p43
  - PYSEC-2026-519
title: Ray OS Command Injection vulnerability
summary: Ray OS Command Injection vulnerability
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
vendor: ray
product: ray
ecosystem: pip
affected:
  - ray < 2.8.1
patched:
  - ray 2.8.1
published: '2023-11-16'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:49:59.071293552Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-h3xg-wv58-5p43'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2023-6019'
  - url: 'https://github.com/ray-project/ray'
  - url: 'https://github.com/ray-project/ray/releases/tag/ray-2.8.1'
  - url: 'https://huntr.com/bounties/d0290f3c-b302-4161-89f2-c13bb28b4cfe'
  - 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
tags:
  - osv
  - pip
  - exploit-available
epss: 0.7463
epssPercentile: 0.99478
exploits:
  exploitdb: true
  github: 4
  githubRepos:
    - 'https://github.com/FireWolfWang/CVE-2023-6019'
    - 'https://github.com/Clydeston/CVE-2023-6019'
    - 'https://github.com/Zohaibkhan1472/cve-2023-6019'
  metasploit:
    - exploit/linux/http/ray_cpu_profile_cmd_injection_cve_2023_6019
  checkedAt: '2026-09-24T07:52:50.350Z'
exploitAvailable: true
ingestedAt: '2026-09-12T03:13:01.697Z'
---

## Overview

A command injection exists in Ray's cpu_profile URL parameter allowing attackers to execute os commands on the system running the ray dashboard remotely without authentication.

## Affected packages

- `ray < 2.8.1`

## Remediation

Upgrade to a patched release:

- `ray 2.8.1`
