Documented Incident · INC-2023-6019 · Critical severity

Ray Distributed Framework CPU Profiler Command Injection RCE

CVE-2023-6019 (published November 16, 2023, disclosed by Protect AI / Bishop Fox) exposed a critical OS command injection flaw in Ray's dashboard CPU profiling endpoint (`cpu_profile`). Unsanitized query parameters (`format` / `native`) were interpolated directly into shell command invocations on the Ray head node without authentication. Any attacker reaching an exposed Ray dashboard achieved immediate remote code execution across the entire GPU training cluster, leading to stolen OpenAI/AWS keys and cryptojacking. Anyscale patched command sanitization in Ray v2.8.1 and emphasized never exposing Ray dashboards publicly.

Incident dossier metadata

Case ID
INC-2023-6019
Classification
Incident
Date
Severity
Critical
Sector
Cloud & AI Infrastructure
Attack vector
Exposed Infrastructure
System type
Distributed AI Training & Serving Clusters
CVE / reference
CVE-2023-6019
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-6019

Inspect INC-2023-6019 in Interactive Incidents & Cases Hub

Defensive takeaway

Bind Ray dashboard ports strictly to private authenticated networks and pass profiler arguments as argv arrays without shell interpolation.

Mapped AI security techniques

Mapped defensive controls

Source citation records