CVE-2026-4137: CWE-378 Creation of Temporary File With Insecure Permissions in mlflow mlflow/mlflow
CVE-2026-4137 is a vulnerability in mlflow/mlflow prior to version 3.11.0 where temporary directories are created with insecure permissions, allowing local attackers to tamper with model artifacts. This can lead to arbitrary code execution when deserialized via cloudpickle.load(). The issue is especially critical in shared NFS environments like Databricks. It continues a previously partially fixed vulnerability class (CVE-2025-10279).
AI Analysis
Technical Summary
In mlflow/mlflow versions before 3.11.0, the functions get_or_create_nfs_tmp_dir() and _create_model_downloading_tmp_dir() create temporary directories with overly permissive permissions (0o777 and 0o770 respectively). These insecure permissions allow local attackers with access to the filesystem to modify model artifacts, including cloudpickle-serialized Python objects. When these tampered artifacts are later deserialized using cloudpickle.load(), it can result in arbitrary code execution. This vulnerability is particularly impactful in shared NFS mount environments such as Databricks, where NFS is enabled by default. The vulnerability is a continuation of the CWE-378 class and relates to a previously partially fixed issue identified as CVE-2025-10279.
Potential Impact
The vulnerability allows local attackers to modify temporary directories and model artifacts due to insecure directory permissions. This can lead to arbitrary code execution upon deserialization of tampered artifacts, posing a high risk to confidentiality, integrity, and availability of the affected system. The impact is heightened in shared NFS environments where multiple users have access to the same filesystem.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor mlflow vendor advisories for updates. Until a patch is available, restrict local access to shared NFS mounts and avoid running untrusted code that deserializes model artifacts. Review and harden permissions on temporary directories used by mlflow to prevent unauthorized modifications.
CVE-2026-4137: CWE-378 Creation of Temporary File With Insecure Permissions in mlflow mlflow/mlflow
Description
CVE-2026-4137 is a vulnerability in mlflow/mlflow prior to version 3.11.0 where temporary directories are created with insecure permissions, allowing local attackers to tamper with model artifacts. This can lead to arbitrary code execution when deserialized via cloudpickle.load(). The issue is especially critical in shared NFS environments like Databricks. It continues a previously partially fixed vulnerability class (CVE-2025-10279).
CVSS v3.0
Score 7.0high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
In mlflow/mlflow versions before 3.11.0, the functions get_or_create_nfs_tmp_dir() and _create_model_downloading_tmp_dir() create temporary directories with overly permissive permissions (0o777 and 0o770 respectively). These insecure permissions allow local attackers with access to the filesystem to modify model artifacts, including cloudpickle-serialized Python objects. When these tampered artifacts are later deserialized using cloudpickle.load(), it can result in arbitrary code execution. This vulnerability is particularly impactful in shared NFS mount environments such as Databricks, where NFS is enabled by default. The vulnerability is a continuation of the CWE-378 class and relates to a previously partially fixed issue identified as CVE-2025-10279.
Potential Impact
The vulnerability allows local attackers to modify temporary directories and model artifacts due to insecure directory permissions. This can lead to arbitrary code execution upon deserialization of tampered artifacts, posing a high risk to confidentiality, integrity, and availability of the affected system. The impact is heightened in shared NFS environments where multiple users have access to the same filesystem.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch links are provided, users should monitor mlflow vendor advisories for updates. Until a patch is available, restrict local access to shared NFS mounts and avoid running untrusted code that deserializes model artifacts. Review and harden permissions on temporary directories used by mlflow to prevent unauthorized modifications.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2026-03-13T15:15:45.839Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0b7bdbec166c07b0f9e87e
Added to database: 05/18/2026, 20:51:39 UTC
Last enriched: 05/26/2026, 08:27:52 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 109
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.