MLflow allows unauthorized access to multipart upload endpoints when the `--serve-artifacts` mode is enabled
The multipart upload endpoints under the artifacts service did not check resource-level permissions, so any authenticated user could overwrite other users' artifacts. An attacker could poison models in the supply chain and potentially achieve code execution when a compromised model is loaded.
mlflow/mlflow
Originally disclosed on huntr
A vulnerability in MLflow versions <=3.10.1.dev0 allows unauthorized access to multipart upload (MPU) endpoints when the --serve-artifacts mode is enabled. The authorization logic does not enforce resource-level permission checks for /mlflow-artifacts/mpu/* endpoints, enabling attackers to overwrite artifacts belonging to other users. This can lead to unauthorized cross-user writes, model supply chain poisoning, and arbitrary code execution when compromised models are loaded. The issue is resolved in version 3.10.0.
From the GitHub Advisory Database (GHSA-8c7q-86fq-vvmh, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the multipart upload handlers relied on authentication alone and never performed per-resource authorization checks.
Impact
An attacker could overwrite other users' artifacts, which could lead to model supply chain poisoning and arbitrary code execution when compromised models are loaded.
What the attacker needed
MLflow with --serve-artifacts enabled; an authenticated account
The fix
The issue was fixed in version 3.10.0 by enforcing resource-level permission checks on the multipart upload endpoints.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
MLflow is a tool for managing machine-learning projects, and it can store files called artifacts. The server checked that you were logged in but not whether you were allowed to touch a particular file, so one user could replace another user's files. If someone later loads a tampered model, it may run malicious code.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.