CVE-2025-15031
Last modified
CVE-2025-15031 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 0.71% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lfprojects | Mlflow | <= 3.10.1 |
References
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4eExploit, Mitigation, Third Party Advisory
- https://huntr.com/bounties/09856f77-f968-446f-a930-657d126efe4eExploit, Mitigation, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-15031?
How severe is CVE-2025-15031?
How do I fix CVE-2025-15031?
Are you affected by CVE-2025-15031?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
