CVE-2023-6019 — Vulnerability in ray — CVE Details
Ray OS Command Injection vulnerability
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.
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 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).
| Package | Fixed 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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-6019ADVISORY
- https://github.com/ray-project/rayWEB
- https://github.com/ray-project/ray/releases/tag/ray-2.8.1WEB
- https://huntr.com/bounties/d0290f3c-b302-4161-89f2-c13bb28b4cfeWEB
- https://www.anyscale.com/blog/update-on-ray-cves-cve-2023-6019-cve-2023-6020-cve-2023-6021-cve-2023-48022-cve-2023-48023WEB
- https://pypi.org/project/rayPACKAGE
- https://github.com/advisories/GHSA-h3xg-wv58-5p43ADVISORY
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
Maximum impact if exploited, often with little effort or access required.
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
Related CVEs
- CVE-2023-48022CRITICAL
Ray has arbitrary code execution via jobs submission API
- CVE-2025-34351CRITICAL
Ray's New Token Authentication is Disabled By Default
- CVE-2025-62593CRITICAL
Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack
- CVE-2026-77359CRITICAL
Jupyter MCP Server: Browser DNS rebinding can hijack the Jupyter backend through management routes
- CVE-2025-34351CRITICAL
Ray's New Token Authentication is Disabled By Default
- CVE-2026-77312CRITICAL
Flyto2 Core: Arbitrary file write via unguarded data.*/file.* modules (incomplete fix of CVE-2026-67429)
- CVE-2025-62593CRITICAL
Ray is vulnerable to Critical RCE via Safari & Firefox Browsers through DNS Rebinding Attack