Horizon Alert
Summary of the vulnerability and why it matters
This advisory addresses a critical vulnerability in MLflow, a platform used for managing machine learning lifecycles. When configured to serve artifacts, a flaw in its authorization logic allows unauthorized users to overwrite critical model files. This could lead to the supply chain of machine learning models being compromised, potentially enabling attackers to execute arbitrary code when compromised models are used.
- Unauthorized users can overwrite MLflow model files.
- This could lead to compromised machine learning supply chains.
- Confirm relevance and assess potential impact on model integrity.
Attack Path
How an attacker could exploit the issue
An attacker with limited privileges could potentially overwrite other users' artifacts if MLflow is running with artifact serving enabled. This could involve poisoning the model supply chain or enabling arbitrary code execution if malicious models are later loaded.
- Requires authenticated access.
- Triggers by uploading multipart artifacts.
- Risks include code execution and data corruption.
Live Threat
Current exploitation, exposure, and threat context
When the `--serve-artifacts` mode is enabled, unauthorized users could overwrite model artifacts belonging to other users. This could lead to the poisoning of machine learning models or potentially arbitrary code execution when compromised models are loaded.
- Model artifacts
- Unauthorized overwrite of artifacts
- Model supply chain poisoning
Operational Fix
Recommended remediation, mitigation, and detection steps
Teams managing ML platforms and the applications that rely on MLflow are likely responsible for addressing this vulnerability. The first step is to locate all MLflow deployments, confirm if they are exposed externally and critical to business operations, and then identify the specific accountable owner to plan remediation.
- ML platform or application owners should own the issue.
- Verify MLflow artifact endpoint reachability.
- Plan remediation based on exposure and criticality.