LiveActive security incident?Get immediate response
CVE Record

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

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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

MLflow can extract a crafted model artifact outside its intended folder and overwrite files. In environments that accept MLflow artifacts from users or tenants, this could let an attacker tamper with application files and may lead to code execution. The sources do not identify a fixed version.

Executive priority

Treat as high priority for ML platforms that accept external or multi-tenant artifacts. Prioritize containment and vendor guidance review because arbitrary file overwrite can affect confidentiality and integrity, and the fix details are not clear in the supplied sources.

Technical view

The issue is CWE-22 path traversal in MLflow pyfunc extraction. Tar archive entries using parent-directory or absolute paths may be extracted without path validation, enabling arbitrary file writes outside the intended directory. The supplied CVSS is 8.1 high.

Likely exposure

Exposure is most likely where MLflow ingests untrusted or cross-tenant pyfunc/model artifacts, especially tar.gz artifacts. Single-user, tightly controlled MLflow deployments have lower practical exposure, but version ranges are unspecified in the bundle.

Exploitation context

The bundle does not report known active exploitation and KEV is false. Exploitation requires a crafted artifact reaching MLflow's pyfunc extraction path. Sources describe possible arbitrary overwrite and potential code execution, but do not provide observed attack details.

Researcher notes

Evidence is strongest for a path traversal design flaw in tar extraction. The public bundle lacks precise affected versions, patch status, and exploit-in-the-wild confirmation. Avoid assuming every MLflow deployment is exploitable without confirming artifact trust boundaries and the relevant extraction path.

Mitigation direction

  • Check MLflow and vendor advisories for fixed versions or official workarounds.
  • Do not ingest MLflow artifacts from untrusted users or tenants.
  • Isolate MLflow processing with least-privilege filesystem permissions.
  • Restrict artifact upload sources and enforce tenant separation.
  • Monitor for unexpected file changes during artifact extraction.

Validation and detection

  • Inventory MLflow deployments and artifact ingestion workflows.
  • Identify systems processing pyfunc or tar.gz model artifacts.
  • Confirm whether artifacts can be supplied by users, tenants, or external pipelines.
  • Review advisory sources for affected and fixed version details.
  • Check logs and file integrity telemetry for unexpected writes.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-22: File access and web shell behavior lookup

File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

File access behavior lookup

The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-15031 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.0)
Known Exploited
No
Published

Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.0HighCVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N2.85.2@huntr_ai
8.1CVSS 3.1HighCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N2.85.2redhat-SADP

Vulnerability scoring details

Base CVSS 3.1 score

8.1High
CVSS 3.1 vector shape for CVE-2025-15031Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPmlflow/mlflow: Path Traversal Vulnerability in mlflow/mlflow
other:Red Hat severity ratingcvssV3_1
  • 2026-03-18T23:01:53.910Z: Reported to Red Hat.
  • 2026-03-18T22:06:47.300Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
mlflowmlflow/mlflowunspecifiedListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-22 · source CWE mapping

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.