{"id":"CVE-2024-27134","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-04-10T20:22:17.676428Z","published":"2024-11-25T14:15:06.867Z","references":[{"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":{"versions":[{"introduced":"0"},{"fixed":"2.16.0"}]}}],"versions":["1.0.0","v0.2.0","v0.2.1","v0.3.0","v0.4.0","v0.4.1","v0.4.2","v0.5.0","v0.6.0","v0.7","v0.8.0","v0.8.1","v1.7.0","v2.2.0"],"database_specific":{"vanir_signatures_modified":"2026-04-10T20:22:17Z","vanir_signatures":[{"deprecated":false,"signature_version":"v1","signature_type":"Function","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f","id":"CVE-2024-27134-6d6e2f75","digest":{"function_hash":"104756577933646270377322058099788548368","length":198},"target":{"function":"doGet","file":"mlflow/java/scoring/src/main/java/org/mlflow/sagemaker/ScoringServer.java"}},{"deprecated":false,"signature_version":"v1","signature_type":"Function","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f","id":"CVE-2024-27134-72beafcb","digest":{"function_hash":"184071514087990523482204071342574856391","length":492},"target":{"function":"testScoringServerWithValidPredictorRespondsToVersionCorrectly","file":"mlflow/java/scoring/src/test/java/org/mlflow/ScoringServerTest.java"}},{"deprecated":false,"signature_version":"v1","signature_type":"Line","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f","id":"CVE-2024-27134-8492ce88","digest":{"line_hashes":["131820453751244830235847135154555009675","118311288725557473966511160909702796059","23166675831352438683313922586367861826","105627809069183315260927391174565252232"],"threshold":0.9},"target":{"file":"mlflow/java/scoring/src/main/java/org/mlflow/sagemaker/ScoringServer.java"}},{"deprecated":false,"signature_version":"v1","signature_type":"Line","source":"https://github.com/mlflow/mlflow/commit/07fdad09eabc63f39069de1ab4cf561da306159f","id":"CVE-2024-27134-8717d33b","digest":{"line_hashes":["126175435439690257488643731654349406987","95033179366840333112179189507578907972","238340115033601847376410752104378127786","243585600340095249392561452430789585945"],"threshold":0.9},"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"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}