CVE-2025-15036: CWE-29 Path Traversal: '\..\filename' in mlflow 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.
AI Analysis
Technical Summary
This vulnerability (CWE-29, CWE-22) in mlflow/mlflow arises from the lack of validation of file paths within tar archives processed by the extract_archive_to_dir function in the mlflow/pyfunc/dbconnect_artifact_cache.py file. Versions prior to 3.7.0 are affected. Exploitation allows an attacker who can supply a malicious tar.gz archive to perform path traversal attacks, potentially overwriting arbitrary files outside the intended extraction directory. This can lead to privilege escalation or sandbox escape in environments where mlflow is used in multi-tenant or shared cluster setups. The CVSS v3.0 score is 9.6, indicating critical severity with network attack vector, low attack complexity, no privileges required, user interaction needed, scope changed, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation can result in arbitrary file overwrite outside the intended extraction directory, enabling attackers to modify or replace critical files. This can lead to privilege escalation, sandbox escape, and compromise of multi-tenant or shared cluster environments where mlflow is deployed. The vulnerability impacts confidentiality, integrity, and availability of affected systems.
Mitigation Recommendations
A fix is available in mlflow version 3.7.0 and later. Users should upgrade to version 3.7.0 or newer to remediate this vulnerability. The vendor advisory from Red Hat confirms the issue and provides guidance on patching. Until upgrading, avoid processing untrusted tar.gz files with the vulnerable function to mitigate risk.
CVE-2025-15036: CWE-29 Path Traversal: '\..\filename' in mlflow mlflow/mlflow
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.
CVSS v3.0
Score 9.6critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CWE-29, CWE-22) in mlflow/mlflow arises from the lack of validation of file paths within tar archives processed by the extract_archive_to_dir function in the mlflow/pyfunc/dbconnect_artifact_cache.py file. Versions prior to 3.7.0 are affected. Exploitation allows an attacker who can supply a malicious tar.gz archive to perform path traversal attacks, potentially overwriting arbitrary files outside the intended extraction directory. This can lead to privilege escalation or sandbox escape in environments where mlflow is used in multi-tenant or shared cluster setups. The CVSS v3.0 score is 9.6, indicating critical severity with network attack vector, low attack complexity, no privileges required, user interaction needed, scope changed, and high impact on confidentiality, integrity, and availability.
Potential Impact
Successful exploitation can result in arbitrary file overwrite outside the intended extraction directory, enabling attackers to modify or replace critical files. This can lead to privilege escalation, sandbox escape, and compromise of multi-tenant or shared cluster environments where mlflow is deployed. The vulnerability impacts confidentiality, integrity, and availability of affected systems.
Mitigation Recommendations
A fix is available in mlflow version 3.7.0 and later. Users should upgrade to version 3.7.0 or newer to remediate this vulnerability. The vendor advisory from Red Hat confirms the issue and provides guidance on patching. Until upgrading, avoid processing untrusted tar.gz files with the vulnerable function to mitigate risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2025-12-23T01:57:43.568Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-15036","vendor":"Red Hat"}]
Threat ID: 69c9d408e6bfc5ba1d7f349e
Added to database: 03/30/2026, 01:38:16 UTC
Last enriched: 07/15/2026, 08:17:13 UTC
Last updated: 07/31/2026, 19:22:53 UTC
Views: 212
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.