{"id":"CVE-2025-15031","summary":"Path Traversal Vulnerability in mlflow/mlflow","details":"A vulnerability in MLflow's pyfunc extraction process allows for arbitrary file writes due to improper handling of tar archive entries. Specifically, the use of `tarfile.extractall` without path validation enables crafted tar.gz files containing `..` or absolute paths to escape the intended extraction directory. This issue affects the latest version of MLflow and poses a high/critical risk in scenarios involving multi-tenant environments or ingestion of untrusted artifacts, as it can lead to arbitrary file overwrites and potential remote code execution.","aliases":["BIT-mlflow-2025-15031","GHSA-fhff-qmm8-h2fp","PYSEC-2026-2656"],"modified":"2026-07-16T03:30:50.686786241Z","published":"2026-03-18T22:06:47.300Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15031.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-15031"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15031.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15031"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448912"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mlflow/mlflow","events":[{"introduced":"0"},{"last_affected":"cadc323c059d08ee15c3a312afd0eefeeccedc94"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"3.10.1"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*"}}],"versions":["v3.10.1","v3.10.0","v3.10.0rc0","nightly","v3.0.0","v2.2.0","v1.7.0","1.0.0","v0.8.1","v0.8.0","v0.7","v0.6.0","v0.5.0","v0.4.2","v0.4.1","v0.4.0","v0.3.0","v0.2.1","v0.2.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-15031.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}