{"cve":"CVE-2025-15031","nvd":{"published":"2026-03-18T23:17:28.693","modified":"2026-07-15T02:17:19.360","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1},"cwes":["CWE-22"],"references":["https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e","https://access.redhat.com/security/cve/CVE-2025-15031","https://bugzilla.redhat.com/show_bug.cgi?id=2448912","https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e","https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json"],"products":["lfprojects:mlflow"],"source":"nvd","synced_at":"2026-10-19T22:26:19.218427112+00:00"},"epss":{"cve":"CVE-2025-15031","score":0.00893,"percentile":0.59484,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fhff-qmm8-h2fp","url":"https://osv.dev/vulnerability/GHSA-fhff-qmm8-h2fp","summary":"Arbitrary file write via tar traversal in mlflow","modified":"2026-09-10T03:51:00.308511538Z","packages":[{"ecosystem":"PyPI","name":"mlflow","purl":"pkg:pypi/mlflow","ranges":["<3.9.0rc0"],"fixed":["3.9.0rc0"]}]},{"id":"PYSEC-2026-2656","url":"https://osv.dev/vulnerability/PYSEC-2026-2656","summary":"Arbitrary file write via tar traversal in mlflow","modified":"2026-07-13T16:43:21.433539748Z","packages":[{"ecosystem":"PyPI","name":"mlflow","purl":"pkg:pypi/mlflow","ranges":["<3.9.0rc0"],"fixed":["3.9.0rc0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}