Incident report
MLflow is_local_uri Path Traversal Bypass Allowing Arbitrary Server File Reads
CVE-2023-6977 (published December 19, 2023) bypassed an earlier MLflow path traversal fix (CVE-2023-2780) affecting versions prior to `2.9.2`. By crafting alternative URI encodings and malformed local scheme prefixes that evaded `is_local_uri()` checks, remote attackers registered artifact locations pointing to arbitrary host paths such as `/etc/shadow`, cloud credential files, or SSH keys and downloaded them through the MLflow artifact API. Because MLflow servers commonly run with IAM permissions to S3/GCS training buckets, local credential theft escalated to full ML data-lake compromise. Maintainers hardened URI scheme validation in MLflow v2.9.2.
Incident record
- Reported
- Severity
- Critical
- Vector
- Data Exfiltration
- Affected system type
- MLOps Experiment Tracking & Model Registries
- Reference
CVE-2023-6977- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2023-6977
Defensive lesson
Enforce strict URI allowlists for MLOps artifact stores, upgrade MLflow past v2.9.2, and avoid storing host cloud keys in MLflow containers.
Referenced techniques
- AI Artifact Collection AML.T0035
- Data from Local System AML.T0037
- Exploit Public-Facing Application AML.T0049
- Unsecured Credentials AML.T0055
- AI Artifact Repository AML.T0120