CVE-2025-15036

Path Traversal Vulnerability in mlflow/mlflow

Published Mar 30, 2026 CVSS 3.1 · 10.0 Critical EPSS < 1% KEV · Not listed
Description
A path traversal vulnerability exists in the `extract_archive_to_dir` function within the `mlflow/pyfunc/dbconnect_artifact_cache.py` file of the mlflow/mlflow repository. This vulnerability, present in versions before v3.7.0, arises due to the lack of validation of tar member paths during extraction. An attacker with control over the tar.gz file can exploit this issue to overwrite arbitrary files or gain elevated privileges, potentially escaping the sandbox directory in multi-tenant or shared cluster environments.

Analysis

AI-generated

Technical impact

A path traversal flaw in mlflow’s “extract_archive_to_dir” function lacks validation of tar archive member paths. An attacker who can supply a crafted tar.gz file can cause the function to write files outside the intended directory, allowing overwriting of arbitrary files or escape from a sandbox. This can lead to privilege escalation or arbitrary code execution, compromising confidentiality, integrity, and availability.

Affected Systems

The vulnerability affects the mlflow open‑source machine learning platform. All releases before version 3.7.0 are impacted; upgrades to 3.7.0 or later mitigate the issue.

Risk and Exploitability

The CVSS score of 10.0 indicates critical severity, yet the EPSS score is below 1 %, showing a low current exploitation likelihood. The vulnerability is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack vector would involve remotely uploading a malicious tar.gz file to a mlflow instance that performs automatic extraction. If such uploads are possible, an attacker could overwrite critical files or elevate privileges. The risk remains high given the potential impact, even though the probability of exploitation appears low at present.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade mlflow to version 3.7.0 or later, which includes proper validation of tar member paths.
  • If upgrading immediately is not feasible, restrict or sanitize any user‑supplied tar.gz archives to guarantee that extraction remains confined within the intended directory and verify that no forbidden paths are present.
  • Review existing extracted artifacts and system files for signs of unauthorized modifications to ensure no compromise has already occurred.

Generated by OpenCVE AI on April 28, 2026 at 21:55 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vhcx-3pq2-4fvc MLFlow path traversal vulnerability
History
Type Values Removed Values Added
First Time appeared Lfprojects
Lfprojects mlflow
CPEs cpe:2.3:a:lfprojects:mlflow:*:-:*:*:*:*:*:*
Vendors & Products Lfprojects
Lfprojects mlflow
Metrics cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

cvssV3_1

{'score': 10.0, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

Type Values Removed Values Added
Weaknesses CWE-22
References
Metrics threat_severity

None

cvssV3_1

{'score': 9.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Mlflow
Mlflow mlflow/mlflow
Vendors & Products Mlflow
Mlflow mlflow/mlflow
Type Values Removed Values Added
Description A path traversal vulnerability exists in the `extract_archive_to_dir` function within the `mlflow/pyfunc/dbconnect_artifact_cache.py` file of the mlflow/mlflow repository. This vulnerability, present in versions before v3.7.0, arises due to the lack of validation of tar member paths during extraction. An attacker with control over the tar.gz file can exploit this issue to overwrite arbitrary files or gain elevated privileges, potentially escaping the sandbox directory in multi-tenant or shared cluster environments.
Title Path Traversal Vulnerability in mlflow/mlflow
Weaknesses CWE-29
References
Metrics cvssV3_0

{'score': 9.6, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

  • CWE-29

    Path Traversal: '\..\filename'

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Jul 15, 2026, 1:27 AM
Reserved
Dec 23, 2025, 1:57 AM
Status
Modified
Published
Mar 30, 2026, 2:16 AM
Modified
Jul 15, 2026, 2:17 AM
Severity
Important
Public date
Mar 30, 2026, 1:16 AM