CVE-2024-27134
JSON

7.0high

Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf

Severity
7.0high CVSS:3.1 by JFROG
Exploit likelihood
0.12% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
JFROG
Also known as
GHSA-qpgc-w4mg-6v92BIT-MLFLOW-2024-27134PYSEC-2024-224

Description

Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf. This behavior can be exploited by a local attacker to gain elevated permissions by using a ToCToU attack. The issue is only relevant when the spark_udf() MLflow API is called.

Affected

Product or packageVersionsReported by
mlflowbefore 2.16.0CVE List
lfprojects mlflowbefore 2.16.0CVE List, NVD
mlflow (PyPI)before 2.16.0GitHub Advisory Database, PyPA Advisory Database
mlflow (Bitnami)before 2.16.0Bitnami Vulnerability Database

All scores

JFROG7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHub7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
GitHubhigh CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database7.0high CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Bitnami Vulnerability Databasehigh rating

Classification

CWE-276CWE-367

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf. This behavior can be exploited by a local attacker to gain elevated permissions by using a ToCToU attack. The issue is only relevant when the spark_udf() MLflow API is called.

NVD (es)

Los permisos de directorio excesivos en MLflow provocan una escalada de privilegios locales cuando se utiliza spark_udf. Un atacante local puede aprovechar este comportamiento para obtener permisos elevados mediante un ataque ToCToU. El problema solo es relevante cuando se llama a la API spark_udf() de MLflow.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-27134 changed 2024-11-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-qpgc-w4mg-6v92 changed 2025-02-03CC-BY-4.0
NVDCVE-2024-27134 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-224 changed 2026-06-10CC-BY-4.0
Bitnami Vulnerability DatabaseBIT-MLFLOW-2024-27134 changed 2026-09-08Apache-2.0