# CVE-2026-4137: Incomplete Fix for CVE-2025-10279: Insecure Temporary Directory Permissions in mlflow/mlflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.0
- **CVSS:** 7.0 (v3.0, CNA) `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **CWE:** CWE-378
- **Aliases:** BIT-mlflow-2026-4137, GHSA-f2m9-wcf4-cwwx, PYSEC-2026-2655
- **Published:** 2026-05-18T20:26:23.104Z
- **Modified:** 2026-09-01T01:15:07.929Z

## Who should check

- Projects that depend on PyPI package mlflow (\>= 1.26.0, \< 3.11.0)
- Anyone running mlflow/mlflow \>= unspecified, \< 3.11.0

## Description

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.

## Affected and fixed versions

- PyPI `mlflow`: affected \>= 1.26.0, \< 3.11.0; fixed 3.11.0 (osv)
- mlflow/mlflow: \>= unspecified, \< 3.11.0 (cvelist)

## Mitigation

- Upgrade mlflow to 3.11.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-4137. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-4137.md
Affected: mlflow >= 1.26.0, < 3.11.0
Fixed in: 3.11.0

Steps:
1. Search this machine and project for mlflow (PyPI), mlflow/mlflow: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-4137 being exploited?

There is no confirmed exploitation: CVE-2026-4137 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-4137?

High: CVSS 7.0 (v3.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2026-4137?

mlflow \>= 1.26.0, \< 3.11.0.

### Is there a fix for CVE-2026-4137?

Yes. Fixed in 3.11.0. Upgrade mlflow to 3.11.0 or later.

### How do I check if I'm affected by CVE-2026-4137?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-4137>
- vendor: <https://github.com/advisories/GHSA-4x5p-f36r-mxxr>
- vendor: <https://github.com/advisories/GHSA-f2m9-wcf4-cwwx>
- patch: <https://github.com/mlflow/mlflow/commit/1dcbb0c2fbd1f446c328830e601ca13a28219b8a>
- patch: <https://github.com/mlflow/mlflow/commit/bd8854fb2b4b168a4384ebddc6c4a0b5d56aff01>
- exploit: <https://huntr.com/bounties/648dc30b-76c7-4433-86b8-f43d926fd8d6>
- other: <https://github.com/mlflow/mlflow>
- other: <https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-2655.yaml>
- other: <https://pypi.org/project/mlflow>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-4137>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-f2m9-wcf4-cwwx> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-2655> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-4137> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-4137>
