Skip to main content

VU#369093: MLflow dspy and statsmodels flavors bypass pickle deserialization control

0
Critical
Vulnerabilityremoterce
Published: 09/16/2026 (09/16/2026, 17:10:46 UTC)
Source: CERT/CC

Description

MLflow's dspy and statsmodels model flavors contain vulnerabilities that bypass the MLFLOW_ALLOW_PICKLE_DESERIALIZATION safety control designed to prevent unsafe pickle deserialization. The dspy flavor conditionally applies this control only if the model path ends with .pkl, allowing bypass if the file extension differs. The statsmodels flavor does not apply the control at all. This allows arbitrary remote code execution via malicious pickle payloads when loading models through these flavors. The vulnerability was confirmed in MLflow 3.12.0. The statsmodels flavor issue is patched in versions 3.15.0 and later. Users should upgrade and avoid using the dspy flavor until a fix is available.

Affected software

Affected versions
=3.12.0>=3.0.0 <3.15.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/16/2026, 17:14:18 UTC

Technical Analysis

MLflow is an open-source platform for managing machine learning lifecycles, including model packaging and deployment. It supports multiple 'flavors' for storing and loading models. To mitigate risks from unsafe pickle deserialization, MLflow implemented the MLFLOW_ALLOW_PICKLE_DESERIALIZATION safety control to block pickle deserialization when disabled by the user. However, the dspy flavor only enforces this control if the model path ends with '.pkl'; if the file extension differs, the control is bypassed, allowing pickle deserialization regardless of the safety setting. The statsmodels flavor does not enforce this control at all, permitting pickle deserialization unconditionally. Exploiting these flaws allows arbitrary remote code execution through malicious pickle payloads embedded in model files. The vulnerability requires an attacker to have write access to the location from which MLflow models are loaded. The issue was confirmed in MLflow version 3.12.0. The statsmodels flavor vulnerability has been fixed in MLflow versions 3.15.0 and later. No coordinated vendor fix is currently available for the dspy flavor vulnerability.

Potential Impact

An attacker with write access to MLflow model storage can craft malicious pickle payloads that execute arbitrary code when loaded via the vulnerable dspy or statsmodels flavors. This bypasses user-configured safety controls intended to block pickle deserialization, resulting in remote code execution. This poses a significant security risk for environments using these flavors to load untrusted or tampered models.

Mitigation Recommendations

Users should upgrade MLflow to version 3.15.0 or later to obtain the patch for the statsmodels flavor vulnerability. Until a fix is released for the dspy flavor, users who wish to block pickle deserialization should avoid loading models using the dspy flavor. Monitor vendor advisories for updates regarding a fix for the dspy flavor. No other mitigation or workaround is currently documented.

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

Technical Details

Classification
{"confidence":0.66,"severitySource":"heuristic","classifier":"rss-v2"}
Article Source
{"url":"https://kb.cert.org/vuls/id/369093","fetched":true,"fetchedAt":"2026-09-16T17:14:13.447Z","wordCount":504}

Threat ID: 6aaace6555bf5e2cf5e9791e

Added to database: 09/16/2026, 17:14:13 UTC

Last enriched: 09/16/2026, 17:14:18 UTC

Last updated: 09/16/2026, 17:36:51 UTC

Views: 9

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