CVE-2026-127202MLflow < 3.18.0 Path Traversal via model_id in log_outputs API
MLflow before 3.18.0 using the FileStore backend contains a path traversal vulnerability that allows unauthenticated remote attackers to write files outside the intended run directory by supplying a malicious model_id parameter to the log outputs API. Attackers can exploit the unvalidated model_id containing ../ sequences via the POST /api/3.0/mlflow/runs/outputs endpoint to create directories and write a meta.yaml file at arbitrary filesystem locations, limited only by the server account's permissions. FileStore was the default backend before 3.7.0 and is opt-in afterward through MLFLOW_ALLOW_FILE_STORE.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mlflow: affected: before 3.18.0; fixed in
3.18.0
Vendor advisories:
- https://github.com/mlflow/mlflow/releases/tag/v3.18.0 (release-notes)
- https://github.com/mlflow/mlflow/pull/27131 (patch)
- https://github.com/mlflow/mlflow/commit/ab5fc795eedc22348253cf687818cf2a16c15282 (patch)
References
- https://github.com/mlflow/mlflow/releases/tag/v3.18.0
- https://github.com/mlflow/mlflow/pull/27131
- https://github.com/mlflow/mlflow/commit/ab5fc795eedc22348253cf687818cf2a16c15282
- https://www.vulncheck.com/advisories/mlflow-path-traversal-via-model-id-in-log-outputs-api
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.