Incident report
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 record
- Reported
- Severity
- High
- Vector
- Data Exfiltration
- Affected system type
- Distributed AI Training & Serving Clusters
- Reference
CVE-2023-6021- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-6021
Defensive lesson
Enforce canonical root checks on ML cluster log APIs and require mTLS or SSO authentication for all training cluster dashboards.
Referenced techniques
- Data from Local System AML.T0037
- Exploit Public-Facing Application AML.T0049
- Unsecured Credentials AML.T0055
- Misconfigured or Publicly Exposed AI Services AML.T0132