Browse / AI Framework and Platform Flaws / CVE-2025-15036
MLFlow path traversal vulnerability
- Class
- AI Framework and Platform Flaws (filed by a model that read the advisory)
- Technique
- Path traversal and file access
- Also involves
- Unsafe Model Loading and Supply Chain
- Affected
- mlflow (PyPI)
- CVSS
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- EPSS
- 0.6% chance of exploitation in 30 days
How it works, in short
A tar archive whose member paths contain traversal sequences is extracted without validation, so files can be written outside the target directory. (Our summary, written by a model. The source text is below.)
Details
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-15036
- https://github.com/mlflow/mlflow/commit/3bf6d81ac4d38654c8ff012dbd0c3e9f17e7e346
- https://access.redhat.com/security/cve/CVE-2025-15036
- https://bugzilla.redhat.com/show_bug.cgi?id=2452925
- https://github.com/mlflow/mlflow
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-425.yaml
- https://huntr.com/bounties/36c314cf-fd6e-4fb0-b9b0-1b47bcdf0eb0
- https://pypi.org/project/mlflow
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15036.json
Source: GitHub Advisory Database, used under CC BY 4.0.