cbcvebase.
CVE-2025-15031
published 2026-03-18

CVE-2025-15031: A vulnerability in MLflow's pyfunc extraction process allows for arbitrary file writes due to improper handling of tar archive entries. Specifically, the use…

PriorityP262critical9.1CVSS 3.1
AVNACLPRNUINSUCHIHAN
EPSS
0.85%
53.6th percentile
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.

Affected

3 ranges
VendorProductVersion rangeFixed in
lfprojectsmlflow<= 3.10.1
lfprojectsmlflow>= 0 < 3.9.0rc03.9.0rc0
mlflowmlflow_mlflowunspecified – latest

Detection & IOCsextracted from sources · hover to see the quote

pathmlflow/pyfunc/dbconnect_artifact_cache.py
  • Detect tar.gz archive entries containing path traversal sequences (`..`) or absolute paths being extracted via MLflow's pyfunc extraction process, which uses `tarfile.extractall` without path validation.
  • Monitor MLflow pyfunc model artifact ingestion for tar.gz files that write files outside the intended extraction directory, which may indicate exploitation of this path traversal vulnerability.
  • In Red Hat OpenShift AI (RHOAI) environments, monitor the rhoai/odh-mlflow-rhel9 package for exploitation attempts involving crafted tar.gz artifact uploads.
  • ·The vulnerability is specifically triggered during MLflow's pyfunc extraction process when handling tar.gz model artifacts; risk is elevated in multi-tenant environments or where untrusted artifacts are ingested.

CVSS provenance

nvdv3.19.1CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
nvdv3.08.1HIGHCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
vendor_redhat9.1CRITICAL
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.