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
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
- Acquire Infrastructure: AI Development Workspaces AML.T0008.000
- User Execution: Unsafe AI Artifacts AML.T0011.000
- LLM Response Rendering AML.T0077
- Machine Compromise: AI Artifacts AML.T0112.001
Mapped defensive controls
- Vulnerability Scanning AML.M0016
- User Training AML.M0018
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2024-27132: MLflow Recipe XSS to Client-Side RCE · NIST National Vulnerability Database (NVD) ·