Skip to content
HighVulnerability

CVE-2026-4137: mlflow insecure temporary directory permissions enable code execution

Identifier
CVE-2026-4137
Published
Record updated
View JSON
Affected
  • mlflow >= 1.26.0, < 3.11.0
Fixed in
3.11.0
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.2%

Summary

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 `_create_model_downloading_tmp_dir()` in `mlflow/pyfunc/__init__.py` creates directories with group-writable permissions (0o770). Local attackers can tamper with cloudpickle-serialized model artifacts and achieve arbitrary code execution when they are loaded via `cloudpickle.load()`. The source calls this especially critical on shared NFS mounts such as Databricks, where NFS is enabled by default, and notes it continues the class addressed in CVE-2025-10279, which was only partially fixed.

Mitigation

Fixed in 3.11.0 (all versions prior to 3.11.0 are affected).