NewApp Monitoring is liveSign up free
AgentbeamBeta
AI agent vulnerability · MLflow

CVE-2026-2651: MLflow allows unauthorized access to multipart upload endpoints when the `--serve-artifacts` mode is enabled

criticalCVSS 3.0 9.0GHSA-8c7q-86fq-vvmh

With `--serve-artifacts` on, MLflow's auth layer did not check resource-level permissions for the `/mlflow-artifacts/mpu/*` multipart upload endpoints. A user with an account can overwrite another user's artifacts, including models. That can poison the model supply chain and lead to code execution when someone loads the model. The package data lists mlflow 3.10.0 as the patched version.

Published May 26, 2026 · Updated Oct 6, 2026 · Analysis Oct 26, 2026

What an attacker can do

MLflow's basic-auth layer maps each artifact request to a permission validator. Before the fix, paths under /mlflow-artifacts/mpu/ (create, complete and abort for multipart uploads) were not recognized as proxy artifact paths, so no experiment-level check ran on them (CWE-862, CWE-1220).

The attacker needs a valid low-privilege account on a server started with --serve-artifacts. They call the multipart upload endpoints for an experiment they have no right to write to and replace its artifacts. That is a cross-user write.

The damage comes from what lives in artifact stores: serialized models. If the attacker swaps a model file for a malicious one, anyone who later loads it, for example a training job, a serving container or a colleague's notebook, may run attacker code. The CVSS vector reflects that with a changed scope and high impact on confidentiality, integrity and availability. It also lists user interaction, because a victim has to load the tampered model. Teams that share one tracking server across projects are the most exposed.

Who is affected

The mlflow package on PyPI before 3.10.0 per the package data, running a server with --serve-artifacts and basic-auth permissions. The description cites versions up to 3.10.1.dev0 but also says the fix is in 3.10.0, which does not match, so treat 3.10.0 as the minimum and prefer the latest release. Check:

pip show mlflow

Check the server's start command for --serve-artifacts.

mlflow

Ecosystem
PyPI
Affected
< 3.10.0
Fixed in
3.10.0
Check
pip show mlflow

How to fix it

Upgrade to mlflow 3.10.0 or later:

pip install --upgrade 'mlflow>=3.10.0'

The fix is commit d729081. In mlflow/server/auth/__init__.py, _is_proxy_artifact_path now treats /mlflow-artifacts/mpu/ paths as proxy artifact paths, under both the REST and AJAX prefixes. _get_proxy_artifact_validator maps POST to validate_can_update_experiment_artifact_proxy, the same check as PUT uploads. Tests confirm that a user without permission gets a 403 on create, complete and abort.

The sources give no workaround. If you cannot upgrade, run without --serve-artifacts so clients write to the artifact store directly, or limit who has accounts.

How to tell if you were hit

The sources give no log signatures. Review server access logs for POST requests to /mlflow-artifacts/mpu/ from users who have no update permission on the target experiment. Check artifact stores for model or other files whose modification time or checksum changed unexpectedly, and compare them with registered versions. Before loading a model you did not produce, verify where it came from.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to klaudialax.

Questions

Does CVE-2026-2651 need the --serve-artifacts flag?

Yes. The advisory describes the flaw in multipart upload endpoints when --serve-artifacts mode is enabled.

How can this lead to code execution?

An attacker overwrites another user's model artifact with a malicious one. When a victim loads the compromised model, attacker code can run, according to the advisory.

Which version fixes it?

mlflow 3.10.0 per the package data. The description's affected range goes to 3.10.1.dev0, so use the newest release to be safe.

Is it exploited in the wild?

The sources do not say so, and there is no CISA KEV flag.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. The analysis is written by an AI model from the sources listed above and checked by automated rules before it is published. Check versions against the vendor's advisory before you act. Methodology

More MLflow vulnerabilities

All MLflow entries