CVE-2025-15036: Path Traversal Vulnerability in mlflow/mlflow
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.
Security readout for executives and security teams
Plain-English summary
MLflow can unsafe-extract a tar.gz archive in a way that lets files be written outside the intended cache directory. In shared ML or cluster environments, this could damage workloads, alter sensitive files, or support privilege escalation. The source states versions before v3.7.0 are affected.
Executive priority
Treat this as urgent for shared ML platforms because a crafted artifact could cross tenant or sandbox boundaries. Prioritize internet-accessible, multi-tenant, or privileged MLflow deployments before lower-risk isolated environments.
Technical view
The flaw is in `extract_archive_to_dir` in `mlflow/pyfunc/dbconnect_artifact_cache.py`. Tar member paths are not validated during extraction, enabling path traversal outside the sandbox directory. The CVSS vector is 9.6, network reachable, low complexity, no privileges, user interaction required, and changed scope.
Likely exposure
Organizations running mlflow/mlflow before v3.7.0 are potentially exposed, especially where users or tenants can influence tar.gz artifacts processed by DBConnect artifact caching. The source bundle does not provide exact package ranges beyond before v3.7.0.
Exploitation context
KEV is false, and the provided sources do not state active exploitation. Exploitation requires control over a tar.gz file that MLflow extracts, plus user interaction per CVSS. The main concern is arbitrary file overwrite or sandbox escape in shared environments.
Researcher notes
Evidence is strongest for the vulnerable function, missing tar path validation, CWE-22/CWE-29 classification, and fixed threshold before v3.7.0. The bundle does not include proof of exploitation, exploit maturity, or complete downstream vendor impact.
Mitigation direction
Upgrade mlflow/mlflow to v3.7.0 or later where feasible.
Review the referenced MLflow commit and vendor advisories for exact remediation guidance.
Restrict who can upload or supply archives processed by MLflow.
Avoid processing untrusted tar.gz artifacts in shared or privileged runtime contexts.
Apply least privilege to MLflow service accounts and filesystem permissions.
Validation and detection
Inventory MLflow deployments and record installed versions.
Identify workflows using DBConnect artifact caching or tar.gz artifact extraction.
Confirm whether any deployment runs a version before v3.7.0.
Check whether untrusted users can provide artifacts to affected workflows.
Review filesystem permissions around MLflow runtime and cache directories.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-22: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
5Timeline events
2ADP providers
6Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-22 · source CWE mapping
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.
Path Traversal: '\..\filename' represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.