{"id":"CVE-2024-27134","summary":"Excessive directory permissions in MLflow leads to local privilege escalation when using spark_udf","details":"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.","aliases":["BIT-mlflow-2024-27134","GHSA-qpgc-w4mg-6v92","PYSEC-2024-224"],"modified":"2026-08-18T17:26:45.404092Z","published":"2024-11-25T13:48:05.117Z","database_specific":{"cna_assigner":"JFROG","cwe_ids":["CWE-276","CWE-367"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27134.json"},"references":[{"type":"WEB","url":"https://pypi.python.org"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/27xxx/CVE-2024-27134.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-27134"},{"type":"FIX","url":"https://github.com/mlflow/mlflow/pull/10874"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mlflow/mlflow","events":[{"introduced":"0"},{"fixed":"07fdad09eabc63f39069de1ab4cf561da306159f"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.16.0"}]}}],"versions":["v2.2.0","v1.7.0","1.0.0","v0.8.1","v0.8.0","v0.7","v0.6.0","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.1","v0.2.0"],"database_specific":{"vanir_signatures":[{"target":{"file":"mlflow/java/scoring/src/main/java/org/mlflow/sagemaker/ScoringServer.java","function":"doGet"},"deprecated":false,"digest":{"function_hash":"104756577933646270377322058099788548368","length":198},"id":"CVE-2024-27134-6d6e2f75","signature_type":"Function","signature_version":"v1","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f"},{"target":{"file":"mlflow/java/scoring/src/test/java/org/mlflow/ScoringServerTest.java","function":"testScoringServerWithValidPredictorRespondsToVersionCorrectly"},"deprecated":false,"digest":{"length":492,"function_hash":"184071514087990523482204071342574856391"},"id":"CVE-2024-27134-72beafcb","signature_type":"Function","signature_version":"v1","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f"},{"digest":{"line_hashes":["131820453751244830235847135154555009675","118311288725557473966511160909702796059","23166675831352438683313922586367861826","105627809069183315260927391174565252232"],"threshold":0.9},"id":"CVE-2024-27134-8492ce88","signature_type":"Line","signature_version":"v1","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f","target":{"file":"mlflow/java/scoring/src/main/java/org/mlflow/sagemaker/ScoringServer.java"},"deprecated":false},{"deprecated":false,"digest":{"line_hashes":["126175435439690257488643731654349406987","95033179366840333112179189507578907972","238340115033601847376410752104378127786","243585600340095249392561452430789585945"],"threshold":0.9},"id":"CVE-2024-27134-8717d33b","signature_type":"Line","signature_version":"v1","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f","target":{"file":"mlflow/java/scoring/src/test/java/org/mlflow/ScoringServerTest.java"}}],"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-27134.json","vanir_signatures_modified":"2026-08-18T17:26:45Z"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}