CVE-2025-10279: Mlflow Mlflow Creates Of Temporary File Vulnerability

HIGH
Advisory Identifier: GHSA-4x5p-f36r-mxxr
CVSS 7.0
CWE-379
Published
Advisory Summary

CVE-2025-10279 is a HIGH (CVSS 7.0) mlflow creates of temporary file vulnerability (CWE-379: Creation of Temporary File in Directory with Insecure Permissions) affecting Mlflow libraries in the PyPI ecosystem. The issue involves mlflow creates of temporary file in directory with insecure permissions. Remediation is available by upgrading affected packages to version 3.4.0rc0.

CVE-2025-10279 at a Glance

CVE Identifier CVE-2025-10279
GHSA Identifier GHSA-4x5p-f36r-mxxr
Severity HIGH
CVSS v3.1 Base Score 7.0
CWE Classification CWE-379: Creation of Temporary File in Directory with Insecure Permissions
Affected Product Mlflow
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 7.0

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H).

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

How to Fix CVE-2025-10279

To remediate this vulnerability, upgrade all affected Mlflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

mlflow fixed: 3.4.0rc0
pip install mlflow>=3.4.0rc0
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show mlflow

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2025-10279, inspect your installed packages using pip:

pip show mlflow

Analyze the terminal output to locate any version of Mlflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.4.0rc0), your application is affected.

Note: The pip show mlflow command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-379: Creation of Temporary File in Directory with Insecure Permissions, where the product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file. In Mlflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

In mlflow version 2.20.3, the temporary directory used for creating Python virtual environments is assigned insecure world-writable permissions (0o777). This vulnerability allows an attacker with write access to the `/tmp` directory to exploit a race condition and overwrite `.py` files in the virtual environment, leading to arbitrary code execution. The issue is resolved in version 3.4.0.

CVE-2025-10279 Affected Mlflow Versions

1 component(s)
Fixed Versions:
3.4.0rc0
Product / Package Ecosystem Affected Versions Fixed Version
mlflow
PyPI
< 3.4.0rc0
3.4.0rc0

References

Frequently Asked Questions

What is CVE-2025-10279?
CVE-2025-10279 is a security vulnerability in Mlflow involving mlflow Creates of Temporary File in Directory with Insecure Permissions under CWE-379: Creation of Temporary File in Directory with Insecure Permissions.
Which Mlflow versions are affected?
Affected versions include releases prior to 3.4.0rc0 across affected packages: mlflow.
What version fixes CVE-2025-10279?
Upgrading to 3.4.0rc0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is mlflow affected?
Yes, mlflow is affected in releases prior to 3.4.0rc0. Upgrade your dependency to 3.4.0rc0 or later.
What is the CVSS score of CVE-2025-10279?
CVE-2025-10279 has a CVSS v3.1 base score of 7.0 (HIGH) with vector string CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-10279?
CVE-2025-10279 is classified under CWE-379: Creation of Temporary File in Directory with Insecure Permissions (The product creates a temporary file in a directory whose permissions allow unintended actors to determine the file's existence or otherwise access that file.).
How can I check PyPI dependencies for CVE-2025-10279?
Run the dependency tree command: 'pip show mlflow'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4x5p-f36r-mxxr",
  "modified" : "2026-02-02T21:57:58Z",
  "published" : "2026-02-02T12:31:14Z",
  "aliases" : [ "CVE-2025-10279" ],
  "summary" : "mlflow Creates of Temporary File in Directory with Insecure Permissions",
  "details" : "In mlflow version 2.20.3, the temporary directory used for creating Python virtual environments is assigned insecure world-writable permissions (0o777). This vulnerability allows an attacker with write access to the `/tmp` directory to exploit a race condition and overwrite `.py` files in the virtual environment, leading to arbitrary code execution. The issue is resolved in version 3.4.0.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "mlflow"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.4.0rc0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-10279"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/mlflow/mlflow/commit/1d7c8d4cf0a67d407499a8a4ffac387ea4f8194a"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/mlflow/mlflow"
  }, {
    "type" : "WEB",
    "url" : "https://huntr.com/bounties/01d3b81e-13d1-43aa-b91a-443aec68bdc8"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-379" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-02T21:57:58Z",
    "nvd_published_at" : "2026-02-02T11:16:16Z"
  }
}