# CVE-2024-27134: Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf

- Severity: High 7.0 (CVSS:3.1, scored by JFROG) `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.12%, higher than 1% of CVEs (2026-12-01)
- Published: 2024-11-25T13:48:05.117Z
- Modified: 2026-09-08T08:48:13.621Z
- Also known as: GHSA-qpgc-w4mg-6v92, BIT-MLFLOW-2024-27134, PYSEC-2024-224
- Weaknesses: CWE-276, CWE-367
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: JFROG

## 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.

(As written by CVE List.)

## Affected

- mlflow: before 2.16.0
- lfprojects mlflow: before 2.16.0
- mlflow (PyPI): before 2.16.0
- mlflow (Bitnami): before 2.16.0

## Every score

- JFROG: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 7.0 High `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/mlflow/mlflow/pull/10874> (fix, issue-tracking, patch, report, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27134> (advisory, web)
- <https://github.com/mlflow/mlflow/commit/0b1d995d66a678153e01ed3040f3f4dfc16a0d6b> (web)
- <https://github.com/mlflow/mlflow> (package)
- <https://github.com/advisories/GHSA-qpgc-w4mg-6v92> (advisory)

## Sources

- CVE List: [CVE-2024-27134](https://www.cve.org/CVERecord?id=CVE-2024-27134), CVE Terms of Use, modified 2024-11-25
- GitHub Advisory Database: [GHSA-qpgc-w4mg-6v92](https://github.com/advisories/GHSA-qpgc-w4mg-6v92), CC-BY-4.0, modified 2025-02-03
- NVD: [CVE-2024-27134](https://nvd.nist.gov/vuln/detail/CVE-2024-27134), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-224](https://osv.dev/vulnerability/PYSEC-2024-224), CC-BY-4.0, modified 2026-06-10
- Bitnami Vulnerability Database: [BIT-MLFLOW-2024-27134](https://osv.dev/vulnerability/BIT-MLFLOW-2024-27134), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2024-27134 · Whole record: https://cve.day/CVE-2024-27134.json · Rebuilt by cve.day 2026-11-25T22:58:49.417Z
