Documented Incident · INC-2023-6021 · High severity

Ray Log API Endpoint Path Traversal Local File Inclusion

CVE-2023-6021 (published November 16, 2023) revealed a local file inclusion vulnerability in Ray's `/api/v0/logs/file` endpoint caused by insufficient validation of the `filename` query parameter. Unauthenticated attackers reaching the dashboard API could traverse outside the Ray log directory to dump arbitrary server files, exposing worker secrets, configuration manifests, and proprietary ML training artifacts. Disclosed alongside CVE-2023-6019 and CVE-2023-6020, it underscored the danger of unauthenticated ML cluster control planes. Ray patched log path containment in v2.8.1.

Incident dossier metadata

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

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

Defensive takeaway

Enforce canonical root checks on ML cluster log APIs and require mTLS or SSO authentication for all training cluster dashboards.

Mapped AI security techniques

Mapped defensive controls

Source citation records