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

CVE-2024-3099: Undefined Behavior in mlflow

mediumCVSS 3.1 5.4GHSA-8f8q-q2j7-7j2m

MLflow before 2.11.3 accepts model names that differ only by URL encoding, so an authenticated user can register a second model that looks identical to an existing one. That can break use of the real model or poison it with a lookalike. Upgrade to 2.11.3.

Published Jun 6, 2024 · Updated Oct 11, 2024 · Analysis Nov 2, 2026

What an attacker can do

MLflow did not validate registered model names well. A name in URL-encoded form was stored as a different model from its decoded counterpart. Two entries then shared one visible name.

The advisory describes two outcomes. A victim who looks up the name may open the wrong model each time, which denies them the intended one. An attacker may also plant a malicious model under the lookalike name so that a victim loads it, which is model poisoning. In a shared tracking server, loading a poisoned model can matter a lot, because MLflow models can include code that runs on load, though the advisory does not go into that.

The attacker needs a low-privilege account on the tracking server (CVSS 3.1: network, low complexity, PR:L, no user interaction). Integrity and availability impacts are rated low.

Who is affected

pip package mlflow older than 2.11.3. The advisory names 2.11.1 as the version tested.

pip show mlflow

It matters most for shared tracking or registry servers where several users can register models.

mlflow

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

How to fix it

Upgrade to mlflow 2.11.3.

pip install --upgrade "mlflow>=2.11.3"

The advisory names the patched version and lists no workaround. On servers you cannot update yet, restrict who may create registered models.

How to tell if you were hit

List registered models and look for names containing percent-encoded characters such as %2F or %20, or pairs that match once decoded. Check who created them and when. Review where pipelines load models by name, and pin them by version or run ID.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

A vulnerability in mlflow/mlflow version 2.11.1 allows attackers to create multiple models with the same name by exploiting URL encoding. This flaw can lead to Denial of Service (DoS) as an authenticated user might not be able to use the intended model, as it will open a different model each time. Additionally, an attacker can exploit this vulnerability to perform data model poisoning by creating a model with the same name, potentially causing an authenticated user to become a victim by using the poisoned model. The issue stems from inadequate validation of model names, allowing for the creation of models with URL-encoded names that are treated as distinct from their URL-decoded counterparts.

Questions

Does the attacker need an account?

Yes. The CVSS vector requires low privileges. The attacker is an authenticated user of the MLflow server.

What is the fixed version?

2.11.3. Versions below it are listed as vulnerable.

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