---
id: CVE-2024-37059
aliases:
  - GHSA-wf7f-8fxf-xfxc
  - BIT-mlflow-2024-37059
  - PYSEC-2026-1660
title: MLFlow unsafe deserialization
summary: MLFlow unsafe deserialization
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'
vendor: mlflow
product: mlflow
ecosystem: pip
affected:
  - 'mlflow >= 0.5.0, <= 3.4.0'
published: '2024-06-04'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:16.161303202Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-wf7f-8fxf-xfxc'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-37059'
  - url: 'https://github.com/mlflow/mlflow'
  - url: 'https://hiddenlayer.com/sai-security-advisory/mlflow-june2024'
tags:
  - osv
  - pip
epss: 0.00618
epssPercentile: 0.47332
ingestedAt: '2026-07-08T18:25:53.618Z'
---

## Overview

Deserialization of untrusted data can occur in versions of the MLflow platform running version 0.5.0 or newer, enabling a maliciously uploaded PyTorch model to run arbitrary code on an end user’s system when interacted with.

## Affected packages

- `mlflow >= 0.5.0, <= 3.4.0`

## Remediation

Refer to the advisory for the patched release.
