All reports
High

mlflow: MLflow dspy: Arbitrary code execution via crafted MLmodel artifact

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-96775

Probability of exploitation in the next 30 days: 0.65%

FIRST EPSS · 2026-11-23

Description

MLflow's dspy flavor, versions >= 2.0, applies the MLFLOW_ALLOW_PICKLE_DESERIALIZATION=False security control only when the model_path ends in .pkl, which allows a remote attacker to execute arbitrary code via a crafted MLmodel artifact.

A flaw was found in MLflow's dspy flavor. The security control intended to prevent pickle deserialization is only enforced when the model file path ends with '.pkl'. This oversight allows a remote attacker to bypass the security control and execute arbitrary code by providing a specially crafted MLmodel artifact.