{"id":"CVE-2025-15031","aliases":["CVE-2025-15031","GHSA-fhff-qmm8-h2fp","BIT-MLFLOW-2025-15031","PYSEC-2026-2656"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal Vulnerability in mlflow/mlflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en el proceso de extracción pyfunc de MLflow permite escrituras arbitrarias de archivos debido a un manejo inadecuado de las entradas de archivos tar. Específicamente, el uso de 'tarfile.extractall' sin validación de ruta permite que archivos tar.gz manipulados que contienen '..' o rutas absolutas escapen del directorio de extracción previsto. Este problema afecta a la última versión de MLflow y plantea un riesgo alto/crítico en escenarios que involucran entornos multi-inquilino o la ingesta de artefactos no confiables, ya que puede conducir a sobrescrituras arbitrarias de archivos y potencial ejecución remota de código.","source":"nvd"}],"published":"2026-03-18T22:06:47.300Z","modified":"2026-09-10T03:51:00.308Z","severity":{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"mlflow","product":"mlflow/mlflow","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","package":"rhoai/odh-mlflow-rhel9","cpe":"cpe:/a:redhat:openshift_ai","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0rc0"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.10.1"}],"vendor":"lfprojects","product":"mlflow","cpe":"cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0rc0"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.1"}],"ecosystem":"Bitnami","package":"mlflow","purl":"pkg:bitnami/mlflow","source":"bitnami"}],"references":[{"url":"https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4e","tags":["advisory","exploit","mitigation","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-15031","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2448912","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15031.json","tags":["web","x-sadp-csaf-vex"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15031","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/mlflow/mlflow/commit/3bf6d81ac4d38654c8ff012dbd0c3e9f17e7e346","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mlflow/mlflow/blob/fe4d9be330426904283401f1d2ed914238b6fc37/mlflow/pyfunc/dbconnect_artifact_cache.py#L140","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/mlflow","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-fhff-qmm8-h2fp","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-19T13:52:23.186Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-15031","url":"https://www.cve.org/CVERecord?id=CVE-2025-15031","licence":"CVE Terms of Use","modified":"2026-07-15T01:27:07.434Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fhff-qmm8-h2fp","url":"https://github.com/advisories/GHSA-fhff-qmm8-h2fp","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:00.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-15031","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15031","licence":"Public domain","modified":"2026-07-15T02:17:19.360Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2656","url":"https://osv.dev/vulnerability/PYSEC-2026-2656","licence":"CC-BY-4.0","modified":"2026-07-13T16:43:21.433Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MLFLOW-2025-15031","url":"https://osv.dev/vulnerability/BIT-MLFLOW-2025-15031","licence":"Apache-2.0","modified":"2026-09-08T08:48:13.724Z"}],"updatedAt":"2026-11-25T22:59:11.957Z","epss":{"score":0.00953,"percentile":0.62349,"date":"2026-12-01T12:00:22.000Z"}}