Documented Incident · INC-2024-27132 · High severity

MLflow Untrusted Recipe Template XSS Escalating to Client-Side Notebook RCE

CVE-2024-27132 (published February 23, 2024) disclosed a template sanitization flaw in MLflow Recipes when rendering step cards inside interactive notebook environments like Jupyter. Insufficient escaping of untrusted recipe variables allowed attacker-controlled JavaScript to execute in the data scientist's browser context upon viewing a cloned repository's MLflow recipe output. Within Jupyter Notebook sessions, client-side XSS escalated directly to executing arbitrary Python code in the local kernel and compromising developer machines. Security guidance advised patching MLflow and treating third-party MLflow recipes as untrusted code.

Incident dossier metadata

Case ID
INC-2024-27132
Classification
Incident
Date
Severity
High
Sector
Software Development & AI Tooling
Attack vector
Supply Chain
System type
MLOps Pipeline & Jupyter Recipe Runners
CVE / reference
CVE-2024-27132
Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2024-27132

Inspect INC-2024-27132 in Interactive Incidents & Cases Hub

Defensive takeaway

Sanitize all HTML template outputs in MLOps reporting libraries and run untrusted ML recipes exclusively in isolated ephemeral notebooks.

Mapped AI security techniques

Mapped defensive controls

Source citation records