{"schemaVersion":3,"id":"CVE-2026-4137","aliases":["GHSA-f2m9-wcf4-cwwx","BIT-mlflow-2026-4137","PYSEC-2026-2655","CGA-2694-qvxw-6r2m"],"status":"published","duplicateOf":null,"title":null,"description":"In mlflow/mlflow versions prior to 3.11.0, the `get_or_create_nfs_tmp_dir()` function in `mlflow/utils/file_utils.py` creates temporary directories with world-writable permissions (0o777), and the `_create_model_downloading_tmp_dir()` function in `mlflow/pyfunc/__init__.py` creates directories with group-writable permissions (0o770). These insecure permissions allow local attackers to tamper with model artifacts, such as cloudpickle-serialized Python objects, and achieve arbitrary code execution when the tampered artifacts are deserialized via `cloudpickle.load()`. This vulnerability is particularly critical in environments with shared NFS mounts, such as Databricks, where NFS is enabled by default. The issue is a continuation of the vulnerability class addressed in CVE-2025-10279, which was only partially fixed.","dates":{"published":"2026-05-18T20:26:23.104Z","modified":"2026-05-19T12:47:53.221Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":2.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":7,"severity":"high","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00162,"percentile":0.05013,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":-0.031000000000000017,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00193},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00162,"percentile":0.05013}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00193,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00162,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00162,"percentile":0.05013}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_7B66256482CA1B36","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/648dc30b-76c7-4433-86b8-f43d926fd8d6","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions","description":"Opening temporary files without appropriate measures or controls can leave the file, its contents and any function that it impacts vulnerable to attack.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/378.html"}],"affected":[{"vendor":"chainguard","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/mlflow","purlType":"apk","versions":[{"text":"< 3.16.0-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.16.0-r0","eol":null,"hubHref":null},{"vendor":"lfprojects","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.11.0","eol":null,"hubHref":"/vendor/lfprojects/mlflow"},{"vendor":"mlflow","product":"mlflow/mlflow","name":"mlflow/mlflow","label":"mlflow/mlflow","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, < 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, < 3.11.0","eol":null,"hubHref":"/vendor/mlflow/mlflowmlflow"},{"vendor":"PyPI","product":"mlflow","name":"mlflow","label":"mlflow","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/mlflow","purlType":"pypi","versions":[{"text":"≥ 1.26.0, < 3.11.0","noFixRecorded":false,"fixedIn":null},{"text":"< 3.11.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.26.0, < 3.11.0 | < 3.11.0","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/648dc30b-76c7-4433-86b8-f43d926fd8d6","label":"huntr.com/bounties/648dc30b-76c7-4433-86b8-f43d926fd8d6","hostname":"huntr.com","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://github.com/mlflow/mlflow/commit/1dcbb0c2fbd1f446c328830e601ca13a28219b8a","label":"github.com/mlflow/mlflow/commit/1dcbb0c2fbd1f446c328830e601ca13a28219b8a","hostname":"github.com","tags":["WEB","Patch"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-4137","label":"nvd.nist.gov/vuln/detail/CVE-2026-4137","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/mlflow/mlflow/commit/bd8854fb2b4b168a4384ebddc6c4a0b5d56aff01","label":"github.com/mlflow/mlflow/commit/bd8854fb2b4b168a4384ebddc6c4a0b5d56aff01","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/advisories/GHSA-4x5p-f36r-mxxr","label":"github.com/advisories/GHSA-4x5p-f36r-mxxr","hostname":"github.com","tags":["Advisory"]},{"url":"https://github.com/mlflow/mlflow","label":"github.com/mlflow/mlflow","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-2655.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-2655.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/mlflow","label":"pypi.org/project/mlflow","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-f2m9-wcf4-cwwx","label":"github.com/advisories/GHSA-f2m9-wcf4-cwwx","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-05-18T20:26:23.104Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-05-19T12:47:53.221Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":41,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:43:00.567Z","stale":false,"partial":false}}