Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | Although the CVSS score of 5.1 appears low-to-moderate, multiple signals confirm this is a legitimate insider threat requiring active response. The CVSS vector shows PR:L (authenticated attacker required) and UI:P (user interaction required), which correctly constrains the attack surface to already-authenticated MLflow users and victims who must view the poisoned artifact. The SSVC framework corroborates this: exploitation is rated 'none' (not currently being exploited), automatable is 'no' (requires manual upload and victim interaction), and technical impact is 'partial' (affects confidentiality and integrity, not availability). However, the stored nature of the XSS is significant-once uploaded, the payload persists and affects all users who view that artifact, making it a supply-chain-like threat within team environments. The VI (Integrity) impact in CVSS confirms that victim actions can be impersonated. For organizations where MLflow users collaborate on model artifacts, this warrants prioritized patching despite the modest CVSS score. |
| Exploit ScenarioDerived | An authenticated MLflow user (e.g., a disgruntled team member or compromised account) uploads a specially crafted MLmodel file with a malicious JavaScript payload embedded in a YAML field. When a second user with administrative or model review privileges opens the artifacts page to inspect model metadata, the injected script executes in their browser session, stealing their authentication token or triggering a model deployment under the victim's identity. The attack requires network access to MLflow's web interface (satisfied in most cloud or on-premise deployments) but low privileges (ordinary authenticated user) and user interaction (clicking on the artifact), making it a plausible insider threat or post-compromise lateral-movement technique. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 07, 2026
Stored cross-site scripting (XSS) in MLflow through version 3.10.1 allows authenticated attackers to inject malicious payloads via YAML-based MLmodel artifacts that execute when other users view the artifact in the web interface, enabling session hijacking or unauthorized actions on behalf of victims. CVSS 5.1 reflects low severity due to authentication requirement and user interaction; SSVC framework rates exploitation as none, automatable as no, and technical impact as partial. Upstream fix is available in a GitHub PR, though no formally released patched version has been independently confirmed from provided data.
RemediationAI
Upstream fix available via GitHub pull request https://github.com/mlflow/mlflow/pull/21435; a formally released patched version number is not confirmed from provided data, so verify the latest stable MLflow release incorporates this PR. As an immediate mitigation, restrict upload permissions for MLmodel artifacts to trusted users only and educate team members not to click artifact links from untrusted sources. Monitor artifact upload logs for suspicious YAML payloads containing HTML/script tags. Implement Content Security Policy (CSP) headers in your MLflow deployment to restrict inline script execution in the web UI, which would limit the impact of any unpatched stored XSS.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
MLflow's web interface parses YAML-based MLmodel artifact metadata without proper sanitization before rendering it in the browser context. The vulnerability resides in how the application deserializes and displays user-supplied YAML content to other authenticated users, violating CWE-79 (Improper Neutralization of Input During Web Page Generation). YAML parsers can inadvertently execute embedded HTML/JavaScript if output is not escaped. The CPE cpe:2.3:a:mlflow:mlflow:*:*:*:*:*:*:*:* indicates the entire MLflow product line from version 0 through 3.10.1 is in scope. The attack vector is network-based (AV:N) with low complexity (AC:L), but requires low-privilege authentication (PR:L) and user interaction (UI:P) to trigger-a user must browse the artifacts section after an authenticated attacker uploads a malicious MLmodel file.
Know when Mlflow gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
MLflow is vulnerable to Stored Cross-Site Scripting (XSS) caused by unsafe parsing of YAML-based MLmodel artifacts in its web interface. An authenticated attacker can upload a malicious MLmodel file containing a payload that executes when another user views the artifact in the UI. This allows actions such as session hijacking or performing operations on behalf of the victim.
This issue affects MLflow version through 3.10.1
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in MLflow XSS and Authorization Bypass
View all 2Server-side request forgery in MLflow before 3.15.0 lets remote unauthenticated attackers coerce the server into making
A path traversal vulnerability exists in mlflow/mlflow version 2.15.1. Rated high severity (CVSS 7.5), this vulnerabilit
Absolute Path Traversal in GitHub repository mlflow/mlflow prior to 2.5.0. Rated critical severity (CVSS 10.0), this vul
Unauthenticated remote code execution in MLflow 3.12.0rc0 through 3.16.x lets any network caller reach the tracking serv
MLflow's FastAPI job endpoints bypass basic-auth entirely, allowing network attackers to submit and execute jobs without
A malicious user could use this issue to get command execution on the vulnerable machine and get access to data & models
A malicious user could use this issue to access internal HTTP(s) servers and in the worst case (ie: aws instance) it cou
An attacker is able to arbitrarily create an account in MLflow bypassing any authentication requirment. Rated critical s
An attacker can overwrite any file on the server hosting MLflow without any authentication. Rated critical severity (CVS
Path Traversal: '\..\filename' in GitHub repository mlflow/mlflow prior to 2.3.1. Rated critical severity (CVSS 9.8), th
Path Traversal: '\..\filename' in GitHub repository mlflow/mlflow prior to 2.2.1. Rated critical severity (CVSS 9.8), th
Insufficient sanitization in MLflow leads to XSS when running a recipe that uses an untrusted dataset. Rated critical se
EUVD-2026-19608
GHSA-fh64-r2vc-xvhr
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB