{"id":"CVE-2026-4137","published":"2026-05-18T20:26:23Z","modified":"2026-05-19T12:47:53Z","title":"Incomplete Fix for CVE-2025-10279: Insecure Temporary Directory Permissions in mlflow/mlflow","vendor":"mlflow","product":"mlflow/mlflow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00193,"percentile":0.08991,"provenance":"source"},"cwes":[{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions"}],"references":[{"url":"https://huntr.com/bounties/648dc30b-76c7-4433-86b8-f43d926fd8d6","tags":[]},{"url":"https://github.com/mlflow/mlflow/commit/1dcbb0c2fbd1f446c328830e601ca13a28219b8a","tags":[]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":1.8},{"name":"CVSS severity","points":4.9}]},"vendorSlug":"mlflow","affectedVersions":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[">= unspecified, < 3.11.0"]}],"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":[">=1.26.0, <3.11.0","<3.11.0"],"patched":["3.11.0"],"from":["GHSA-f2m9-wcf4-cwwx","PYSEC-2026-2655"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-30807","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mlflow-mlflow-cve-2025-10279","parents":[{"from":"CVE-2025-10279","to":"CVE-2026-4137","relation":"related","confidence":"high","kind":"lineage","evidence":[{"kind":"osv-related","provenance":"source","id":"GHSA-f2m9-wcf4-cwwx","via":"reference","url":"https://github.com/advisories/GHSA-4x5p-f36r-mxxr"},{"kind":"osv-related","provenance":"source","id":"PYSEC-2026-2655","via":"reference","url":"https://github.com/advisories/GHSA-4x5p-f36r-mxxr"}]}]}}