Skip to main content

CVE-2023-6019 — Vulnerability in ray — CVE Details

CRITICAL

Ray OS Command Injection vulnerability

Published June 29, 2026Updated July 1, 2026Source: OSV

What Should I Do?

Fix Within 2-4 Weeks

Moderate exploitation risk (55.66% probability in 30 days). Schedule remediation soon.

Does your project use an affected ray version?

Paste your requirements.txt to check it for CVE-2023-6019 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my requirements.txt

Summary

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.

Advisory Timeline

  • First published June 29, 2026 (150 days ago).
  • Last revised July 1, 2026 — 2 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

pip
Update ray to 2.8.1 or later
pip install "ray>=2.8.1"

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: PyPI (1).

PackageFixed In
ray PyPI · Affected: 0.1.1, 0.1.2, 0.2.0, 0.2.1 (+72 more)2.8.1

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2023-6019?
Ray OS Command Injection vulnerability. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2023-6019?
CVE-2023-6019 affects ray. It has a 55.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-6019 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Maximum impact if exploited, often with little effort or access required.

EPSS Score (30-day exploit probability)
55.66%
EPSS percentile: 99.3

This places it in the top 5% of EPSS-scored vulnerabilities — 99.3% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Also Known As

PYSEC-2026-519
GHSA-h3xg-wv58-5p43

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my requirements.txt