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

- Severity: High 7.0 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-18T20:26:23.104Z
- Modified: 2026-09-08T08:48:13.662Z
- Also known as: GHSA-f2m9-wcf4-cwwx, BIT-MLFLOW-2026-4137, PYSEC-2026-2655
- Weaknesses: CWE-378
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- mlflow mlflow/mlflow: from unspecified before 3.11.0
- mlflow (PyPI): from 1.26.0 before 3.11.0; before 3.11.0
- lfprojects mlflow: before 3.11.0
- mlflow (Bitnami): before 3.11.0

## Every score

- @huntr_ai: CVSS:3.0 7.0 High `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.0 7.0 High `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 7.0 High `CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating High

## References

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

## Sources

- CVE List: [CVE-2026-4137](https://www.cve.org/CVERecord?id=CVE-2026-4137), CVE Terms of Use, modified 2026-05-19
- GitHub Advisory Database: [GHSA-f2m9-wcf4-cwwx](https://github.com/advisories/GHSA-f2m9-wcf4-cwwx), CC-BY-4.0, modified 2026-09-01
- NVD: [CVE-2026-4137](https://nvd.nist.gov/vuln/detail/CVE-2026-4137), Public domain, modified 2026-07-24
- PyPA Advisory Database: [PYSEC-2026-2655](https://osv.dev/vulnerability/PYSEC-2026-2655), CC-BY-4.0, modified 2026-07-13
- Bitnami Vulnerability Database: [BIT-MLFLOW-2026-4137](https://osv.dev/vulnerability/BIT-MLFLOW-2026-4137), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-4137 · Whole record: https://cve.day/CVE-2026-4137.json · Rebuilt by cve.day 2026-11-25T22:59:21.936Z
