{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-15031","id":"CVE-2025-15031","title":"Path Traversal Vulnerability in mlflow/mlflow","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 scen","descriptionLong":"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.","published":"2026-03-18T22:06:47.300Z","updated":"2026-10-28T02:31:06.720174620Z","reserved":"2025-12-22T14:49:46.957Z","status":"Modified","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"critical","source":"NVD"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"redhat-SADP"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"huntr.dev"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"}],"rating":"high","products":["mlflow/mlflow"],"affectedProducts":[{"vendor":"mlflow","product":"mlflow/mlflow","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mlflow","purl":"pkg:pypi/mlflow","ranges":["<3.9.0rc0"],"fixed":["3.9.0rc0"],"advisory":"GHSA-fhff-qmm8-h2fp"}],"cwes":["CWE-22"],"aliases":["BIT-mlflow-2025-15031","GHSA-fhff-qmm8-h2fp","PYSEC-2026-2656"],"references":[{"url":"https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e","tags":["exploit","Exploit","Mitigation","Third Party Advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-15031","tags":["vdb-entry","x_refsource_REDHAT","advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448912","tags":["issue-tracking","x_refsource_REDHAT","report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json","tags":["x_sadp-csaf-vex","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/15xxx/CVE-2025-15031.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15031","tags":["advisory"]},{"url":"https://github.com/mlflow/mlflow/commit/3bf6d81ac4d38654c8ff012dbd0c3e9f17e7e346","tags":["web"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"]},{"url":"https://github.com/mlflow/mlflow/blob/fe4d9be330426904283401f1d2ed914238b6fc37/mlflow/pyfunc/dbconnect_artifact_cache.py#L140","tags":["web"]},{"url":"https://pypi.org/project/mlflow","tags":["package"]},{"url":"https://github.com/advisories/GHSA-fhff-qmm8-h2fp","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00953,"epssPercentile":0.6207,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-15031","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15031","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-15031","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fhff-qmm8-h2fp","ok":true,"note":"GHSA-fhff-qmm8-h2fp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-15031","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}