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

CVE-2025-14279: MLFlow is vulnerable to DNS rebinding attacks due to a lack of Origin header validation

highCVSS 3.0 8.1GHSA-pgqp-8h46-6x4j

MLflow before 3.5.0 does not validate the Origin or Host header on its REST server, so a malicious website can use DNS rebinding to call the tracking API from the visitor's browser. The page can read, change and delete experiments. Upgrade to MLflow 3.5.0.

Published Jan 12, 2026 · Updated Jan 13, 2026 · Analysis Nov 1, 2026

What an attacker can do

DNS rebinding works like this: the attacker's domain first resolves to the attacker's server, which serves a page with JavaScript. The domain then re-resolves to the address of an MLflow server, for example 127.0.0.1 or an internal host. The browser still considers the page same-origin, so its requests go to MLflow without a Same-Origin Policy block. The MLflow REST server never checked the Origin or Host header, so it answers.

The attacker only needs the victim to open a web page while a reachable MLflow server runs on their machine or network. Via the REST endpoints they can list experiments and runs, change them and delete them. That means data exfiltration, destruction or manipulation of experiment metadata, parameters and metrics. The CVSS vector is network, no privileges, user interaction required, with high confidentiality and integrity impact. Teams that run mlflow server without authentication on a laptop or an internal network are the main targets.

Who is affected

The mlflow pip package before 3.5.0, with versions up to and including 3.4.0 named in the description. Check the version:

pip show mlflow

The REST server is exposed whenever you run mlflow server or mlflow ui. Servers on localhost are reachable through rebinding, as are servers on internal networks that a victim's browser can reach.

mlflow

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

How to fix it

Upgrade to MLflow 3.5.0 or later:

pip install --upgrade "mlflow>=3.5.0"

The fix (pull request 17910) adds security middleware to the FastAPI tracking server. A Host header check (HostValidationMiddleware) rejects unexpected hosts, and a CORS blocking layer (CORSBlockingMiddleware) rejects cross-origin POST, PUT, DELETE and PATCH requests from non-local origins. Defaults allow localhost and private ranges. Configure the allowed hosts and origins for your own domain names; see the MLflow docs for the current flag names. The sources list no workaround for older versions; keep servers off networks that browsers can reach and put them behind authentication.

How to tell if you were hit

Look in the MLflow server or reverse proxy logs for requests whose Host header is a domain you do not own, or whose Origin points to an unfamiliar site, especially POST, PUT or DELETE calls to experiment and run endpoints. Check the tracking store for experiments or runs that were deleted, restored or edited without a known user. Browser DNS logs showing a name that flips between a public and a private address also indicate rebinding.

Original advisory

From the GitHub Advisory Database (CC BY 4.0).

MLFlow versions up to and including 3.4.0 are vulnerable to DNS rebinding attacks due to a lack of Origin header validation in the MLFlow REST server. This vulnerability allows malicious websites to bypass Same-Origin Policy protections and execute unauthorized calls against REST endpoints. An attacker can query, update, and delete experiments via the affected endpoints, leading to potential data exfiltration, destruction, or manipulation. The issue is resolved in version 3.5.0.

Questions

Does the attacker need network access to my MLflow server?

Not directly. The victim's browser does the connecting. The attacker only needs the victim to load a page while MLflow is reachable from that browser.

Is MLflow 3.4.0 affected?

Yes. The description says versions up to and including 3.4.0 are vulnerable, and 3.5.0 resolves it.

What can an attacker do through the API?

Query, update and delete experiments, which can lead to data theft, destruction or manipulation, according to the advisory.

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