CVE-2024-27133: MLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Execution
MLflow before 2.10.0 does not sanitize the dataset table fields it renders when a recipe runs. A recipe that uses an attacker's dataset can run script in the user's browser, which becomes client-side code execution in Jupyter Notebook. Upgrade to mlflow 2.10.0.
Published Feb 24, 2024 · Updated Mar 15, 2026 · Analysis Nov 2, 2026
What an attacker can do
When an MLflow Recipe runs, MLflow renders a table of the dataset it uses. The table fields were inserted into the page without sanitization. A dataset that holds script in its fields therefore runs that script when the output is displayed.
Inside Jupyter Notebook, output is rendered in the notebook page, and JFrog and the advisory describe the result as client-side remote code execution. JFrog's example runs Recipe(profile="local"), then run(), then inspect(step="train"). The sources do not name the exact fields.
The attacker must get you to run a recipe on a dataset they control. That could be a public dataset, a shared file in a repository or a pull request. The CVSS vector requires user interaction and marks scope as changed. The script runs as you in the notebook session, with your data access, credentials and cloud tokens.
Who is affected
mlflow below 2.10.0. JFrog gives the range as 2.9.2 and earlier. Exposure comes from running an MLflow Recipe on a dataset you did not produce, mostly inside Jupyter Notebook.
Check the installed version:
pip show mlflowCVE-2024-27132 is a sibling flaw with the same range. It involves untrusted recipes rather than untrusted datasets.
mlflow
- Ecosystem
- PyPI
- Affected
- < 2.10.0
- Fixed in
- 2.10.0
- Check
pip show mlflow
How to fix it
Upgrade to mlflow 2.10.0:
pip install --upgrade "mlflow>=2.10.0"Restart the notebook kernel. The fix is pull request 10893 and the commits linked from the advisory. JFrog states that no mitigations are supplied. Until you upgrade, avoid running recipes on datasets from untrusted sources.
How to tell if you were hit
Inspect datasets you received for cells that contain script tags, HTML or javascript: strings, especially in text columns. Look at what the notebook rendered after a Recipe inspect step and whether the page loaded anything external. On a machine that ran an untrusted dataset with a vulnerable MLflow, review shell history, new files and outbound connections from the Jupyter server for that period, and rotate tokens held in the session.
Original advisory
From the GitHub Advisory Database (CC BY 4.0).
Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. This issue leads to a client-side RCE when running the recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over dataset table fields.
Credited to oscerd, gabby202308.
Questions
- Is a plain pip install of MLflow 2.10.0 enough?
Yes. 2.10.0 is the patched version. Restart any running notebook kernels so they load the new version.
- Do I need a malicious recipe for this one?
No. The recipe can be your own. The malicious part is the dataset, whose table fields are not sanitized. CVE-2024-27132 covers the case where the recipe itself is untrusted.
- Is it exploited in the wild?
The sources I read do not say so, and the entry is not in CISA's KEV catalog. A proof of concept using Recipe(profile="local") appears in the JFrog advisory.
References
Read for this analysis:
- https://github.com/advisories/GHSA-3v79-q7ph-j75h
- https://research.jfrog.com/vulnerabilities/mlflow-untrusted-dataset-xss-jfsa-2024-000631932
- https://nvd.nist.gov/vuln/detail/CVE-2024-27133
- https://github.com/mlflow/mlflow/pull/10893
- https://github.com/mlflow/mlflow/commit/c43823750bffa5b6abcc086683b15a068513b67b
- https://github.com/mlflow/mlflow/commit/cfa71879a884cc3520e23ccab998c9aa78fdf2b1
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-241.yaml
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 entriesCVE-2026-116690
MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source
high7.5Oct 27, 2026CVE-2026-116691
MLflow CrewAI autologging records LLM provider API keys in logged trace spans
medium6.5Oct 27, 2026CVE-2026-116692
MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules
critical9.8Oct 27, 2026CVE-2026-115886
MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints
medium6.5Oct 23, 2026CVE-2026-53995
MLflow FileStore trace IDs allow path traversal and arbitrary file writes
high8.2Oct 20, 2026GHSA-gqvg-gmmx-x4hm
MLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact
high8.8Sep 1, 2026
