CVE-2025-15031: Path Traversal Vulnerability in mlflow/mlflow

Published Mar 18, 2026
·
Updated

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 Software

3 affected componentsFixes available
pypi/mlflow
pip/mlflow<3.9.0rc0
3.9.0rc0
Lfprojects Mlflow<=3.10.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/mlflow to a version that resolves this vulnerability.

    Fixed in 3.9.0rc0

Event History

Mar 18, 2026
CVE Published
via MITRE·10:06 PM
Data Sourced
via MITRE·10:06 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·11:02 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·11:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:17 PM
Affected Software
Mar 19, 2026
Advisory Published
via GitHub·12:30 AM
Data Sourced
via GitHub·12:30 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-15031?

CVE-2025-15031 has a high severity due to the potential for arbitrary file writes.

2

How do I fix CVE-2025-15031?

To fix CVE-2025-15031, update MLflow to the latest version where the vulnerability is patched.

3

What versions of MLflow are affected by CVE-2025-15031?

CVE-2025-15031 affects specific versions of MLflow that use unvalidated tarfile extraction methods.

4

What type of vulnerability is CVE-2025-15031?

CVE-2025-15031 is a Path Traversal vulnerability allowing attackers to write files outside the intended directory.

5

How does CVE-2025-15031 impact MLflow users?

CVE-2025-15031 can lead to unauthorized file creation, which may compromise system integrity on servers running MLflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203