Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.9%top 45%

CVE-2025-15031: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in mlflow mlflow/mlflow

0
High
VulnerabilityCVE-2025-15031cvecve-2025-15031cwe-22
Published: 03/18/2026 (03/18/2026, 22:06:47 UTC)
Source: CVE Database V5
Vendor/Project: mlflow
Product: 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 scenarios involving multi-tenant environments or ingestion of untrusted artifacts, as it can lead to arbitrary file overwrites and potential remote code execution.

CVSS v3.0

Score 8.1high

Attack Vector
Adjacent Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected software

Affected versions
*

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:17:05 UTC

Technical Analysis

MLflow's pyfunc extraction process improperly handles tar archive entries by using tarfile.extractall without path validation. This allows maliciously crafted tar.gz files containing directory traversal sequences ('..') or absolute paths to write files outside the intended extraction directory. The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). It affects all versions of mlflow/mlflow. The CVSS v3.0 score is 8.1, indicating high severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high confidentiality and integrity impact. The vulnerability can lead to arbitrary file overwrites and potential remote code execution, particularly in multi-tenant or untrusted artifact ingestion scenarios. Red Hat has published an advisory for this CVE but no explicit patch or remediation status is provided in the advisory content.

Potential Impact

Successful exploitation allows an attacker to write arbitrary files outside the intended extraction directory by leveraging path traversal in tar archive extraction. This can lead to overwriting critical files and potentially remote code execution. The impact is high confidentiality and integrity loss. There are no known exploits in the wild as of the published date.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. The Red Hat advisory is available but does not explicitly state a patch or fix. Until an official fix is released, avoid extracting untrusted tar.gz artifacts with MLflow's pyfunc extraction process or implement manual path validation before extraction to prevent directory traversal.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2025-12-22T14:49:46.957Z
Cvss Version
3.0
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2025-15031","vendor":"Red Hat"}]

Threat ID: 69bb2706771bdb1749cae217

Added to database: 03/18/2026, 22:28:22 UTC

Last enriched: 07/15/2026, 08:17:05 UTC

Last updated: 08/01/2026, 07:17:55 UTC

Views: 286

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses