PyPI: mlflow

CVE-2024-27133

Safety vulnerability ID: SFTY-20240223-42574

Safety legacy ID: pyup.io-68486

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.

Created at: Jul 5, 2026Updated at: Jul 5, 2026

Overview

MLFlow Cross-site Scripting vulnerability leads to client-side Remote Code Execution

Advisory

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.

Affected Package

Affecting mlflow package, versions<2.10.0

Also affects

---

How to Fix

Upgrademlflowto2.10.0or higher.

Mitigation and Workarounds

---

Vulnerable Functions

Functions linked to known vulnerabilities.

Vulnerable function data is available for Enterprise customers

Book a call with us to see Safety in action.

Safety

Verified by Safety

Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.

Learn more