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

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-11-25 · Modified: 2024-11-25
- Aliases: GHSA-qpgc-w4mg-6v92, BIT-mlflow-2024-27134, PYSEC-2024-224
- Record: https://cvemate.com/vulnerability/CVE-2024-27134 · JSON: https://cvemate.com/vulnerability/CVE-2024-27134/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.12%, percentile 1.975%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- lfprojects mlflow: \< 2.16.0
- PyPI mlflow (PyPI): \< 2.16.0

## References

- <https://github.com/mlflow/mlflow/pull/10874>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27134>
- <https://github.com/mlflow/mlflow/commit/0b1d995d66a678153e01ed3040f3f4dfc16a0d6b>
- <https://github.com/mlflow/mlflow>
- <https://github.com/advisories/GHSA-qpgc-w4mg-6v92>

---

Data as of 2026-12-05T07:51:42.422Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
