Security Resilience

CVE-2026-4137

Lfprojects Mlflow ≤ 3.11.0

Public PoC
Published
18 May 2026
Modified
24 July 2026
Patch / advisory
CVSS Score v3.1 7.8
Click a component to see what it means
Raw vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.0016 3th percentile
Risk Priority 55 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-4137 is a high-severity Creation of Temporary File With Insecure Permissions (CWE-378) vulnerability in Lfprojects Mlflow. Its CVSS base score is 7.8 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Ccache Files (T1558.005); ranked at the 3th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as Other Platforms; in the Supply Chain and Deployment risk domain.

The strongest mitigations our analysis identified map to AC-6 (Least Privilege) and SC-4 (Information in Shared System Resources) — see the control section below for these in your framework.

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

AI Security AnalysisAI

AI Category
Other Platforms
Risk Domain
Supply Chain and Deployment
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
Matched keywords: mlflow

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1558.005 Ccache Files Credential Access
T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1565 Data Manipulation Impact
Adversaries may insert, delete, or manipulate data in order to influence external outcomes or hide activity, thus threatening the integrity of the data.
T1574.005 Executable Installer File Permissions Weakness Stealth
Adversaries may execute their own malicious payloads by hijacking the binaries used by an installer.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2025-10279Same product: Lfprojects Mlflow
CVE-2025-1473Same product: Lfprojects Mlflow
CVE-2026-2614Same product: Lfprojects Mlflow
CVE-2025-11201Same product: Lfprojects Mlflow
CVE-2026-2393Same product: Lfprojects Mlflow
CVE-2026-0545Same product: Lfprojects Mlflow
CVE-2025-0453Same product: Lfprojects Mlflow
CVE-2026-2652Same product: Lfprojects Mlflow
CVE-2024-6838Same product: Lfprojects Mlflow
CVE-2025-15379Same product: Lfprojects Mlflow

Affected Assets

lfprojects
mlflow
≤ 3.11.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

AC-6 limits privileges granted to processes creating or accessing temporary files, reducing blast radius of insecure permissions.

SC-4 directly stops unauthorized information transfer through shared resources such as temporary files created with weak permissions.

AC-3 enforces access authorizations on system resources including files, structurally stopping insecure temporary file permissions from being exploitable.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly require proper temporary-file creation and permission handling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect insecure temporary files but does not prevent their creation.

prevents

Training developers about secure temporary file creation (e.g., using mkstemp, setting restrictive permissions) reduces some instances of CWE-378, but this is a specific implementation detail that not all training programmes cover and even trained developers may default to convenient APIs like tmpfile() or createTempFile() without setting permissions, leaving a nameable remainder.

prevents

Secure coding standards directly prohibit insecure temporary file creation and permissions.

blocks

Information access restriction can limit exposure but does not address file creation itself.

finds

A.8.8's reach is disclosure-based: it finds CWE-378 only where the weakness surfaces as a published CVE in a third-party component (e.g., CVE-2022-24823 in a Java framework). Most CWE-378 instances live in first-party code using tmpfile()/createTempFile() and never receive a CVE, so the disclosed share is a minority.

blocks

Configuration management defines and enforces secure baselines but does not intercept runtime file-creation calls to stop an insecure temporary file from being exploited once created.

References