7.5high
Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe.
- Severity
- 7.5high CVSS:3.1 by JFROG
- Exploit likelihood
- 0.88% (higher than 60% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- JFROG
- Also known as
- GHSA-6749-m5cp-6cg7BIT-MLFLOW-2024-27132PYSEC-2024-240
Description
Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe. This issue leads to a client-side RCE when running an untrusted recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over template variables.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| mlflow | up to 2.9.2 | CVE List |
| lfprojects mlflow | up to 2.9.2 | CVE List, NVD |
| mlflow (PyPI) | before 2.10.0 | GitHub Advisory Database, PyPA Advisory Database |
| mlflow (Bitnami) | before 2.10.0 | Bitnami Vulnerability Database |
All scores
| JFROG | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVD | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| PyPA Advisory Database | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
Insufficient sanitization in MLflow leads to XSS when running an untrusted recipe. This issue leads to a client-side RCE when running an untrusted recipe in Jupyter Notebook. The vulnerability stems from lack of sanitization over template variables.
NVD (es)
Una sanitización insuficiente en MLflow genera XSS cuando se ejecuta una receta que no es de confianza. Este problema genera un RCE del lado del cliente cuando se ejecuta una receta que no es de confianza en Jupyter Notebook. La vulnerabilidad se debe a la falta de saneamiento de las variables de la plantilla.
References
| https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930/ | advisory, evidence, exploit, third-party-advisory, web | |
| https://github.com/mlflow/mlflow/pull/10873 | fix, issue-tracking, patch, report, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-27132 | advisory, web | |
| https://github.com/mlflow/mlflow | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2024-240.yaml | web | |
| https://research.jfrog.com/vulnerabilities/mlflow-untrusted-recipe-xss-jfsa-2024-000631930 | web | |
| https://github.com/advisories/GHSA-6749-m5cp-6cg7 | advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27132 changed 2024-08-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6749-m5cp-6cg7 changed 2025-04-08 | CC-BY-4.0 |
| NVD | CVE-2024-27132 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-240 changed 2026-06-10 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-MLFLOW-2024-27132 changed 2026-09-08 | Apache-2.0 |