Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

CVE-2026-4137: CWE-378 Creation of Temporary File With Insecure Permissions in mlflow mlflow/mlflow

0
High
VulnerabilityCVE-2026-4137cvecve-2026-4137cwe-378
Published: 05/18/2026 (05/18/2026, 20:26:23 UTC)
Source: CVE Database V5
Vendor/Project: mlflow
Product: 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

Attack Vector
Local
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

mlflow
pkg:pypi/mlflow
Affected versions
<3.11.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 08:27:52 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses