Security Digest · Vulnerability record

CVE-2023-6019: Ray OS Command Injection vulnerability

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

CVSS 9.8 Critical EPSS 74.6% · p99.5

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.

  • No confirmed exploitation. It is not in CISA’s KEV catalog. That can change quickly after a public write-up; re-check if you are affected.
  • EPSS 74.6%, percentile 99.5: FIRST’s model estimates a 74.6% chance of exploitation activity in the next 30 days, higher than 99.5% 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

A command injection existed in Ray's cpuprofile 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

From the GitHub advisory

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

Weakness type: CWE-78.

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.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub3.19.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • 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).
  • FIRST EPSS (model of 2026-10-21): 74.63% probability of exploitation activity in the next 30 days; percentile 99.5.

Timeline

  • — CVE record published by @huntr_ai
  • — GitHub-reviewed advisory GHSA-h3xg-wv58-5p43 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-h3xg-wv58-5p43 github.com
  2. CVE.org record CVE-2023-6019 cve.org
  3. NVD entry CVE-2023-6019 nvd.nist.gov

Other references from the CVE record and advisory

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

Critical PyPI advisories · Today’s Security Digest