CVE-2026-53995: Mlflow Path Traversal Vulnerability
HIGHCVE-2026-53995 is a HIGH (CVSS 8.2) path traversal vulnerability (CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')) affecting Mlflow libraries in the PyPI ecosystem. The issue involves mlflow filestore trace ids allow path traversal and arbitrary file writes. Remediation is available by upgrading affected packages to version 3.18.0.
CVE-2026-53995 at a Glance
Security Impact
CVSS: 8.2
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L).
How to Fix CVE-2026-53995
To remediate this vulnerability, upgrade all affected Mlflow dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install mlflow>=3.18.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show mlflow
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-53995, inspect your installed packages using pip:
pip show mlflow
Analyze the terminal output to locate any version of Mlflow in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.18.0), your application is affected.
Note: The pip show mlflow command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal'), where the product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory. In Mlflow, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53995 Affected Mlflow Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
mlflow
|
PyPI |
< 3.18.0
|
3.18.0
|
References
Frequently Asked Questions
What is CVE-2026-53995?
Which Mlflow versions are affected?
What version fixes CVE-2026-53995?
Is mlflow affected?
What is the CVSS score of CVE-2026-53995?
What CWE is associated with CVE-2026-53995?
How can I check PyPI dependencies for CVE-2026-53995?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wqmh-qccw-pqwf",
"modified" : "2026-12-01T14:28:54Z",
"published" : "2026-10-20T00:31:59Z",
"aliases" : [ "CVE-2026-53995" ],
"summary" : "MLflow FileStore trace IDs allow path traversal and arbitrary file writes",
"details" : "MLflow 3.17.1 and earlier contains a path traversal vulnerability in the FileStore tracking backend that allows unauthenticated attackers to control filesystem paths by submitting a crafted trace ID containing traversal sequences to the POST /api/3.0/mlflow/traces endpoint. Attackers can exploit FileStore.start_trace() to write trace_info.yaml, request_metadata, and tag files with attacker-controlled metadata outside the intended experiment trace directory, subject to the server process's filesystem permissions. FileStore is the default tracking backend before MLflow 3.7.0 and opt-in thereafter (the default changed to a SQLite database), so deployments in the earlier part of the affected range are vulnerable without special configuration while later ones are affected only when FileStore is explicitly selected.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:L"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "mlflow"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.18.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-53995"
}, {
"type" : "WEB",
"url" : "https://github.com/mlflow/mlflow/issues/26979"
}, {
"type" : "WEB",
"url" : "https://github.com/mlflow/mlflow/pull/26842"
}, {
"type" : "WEB",
"url" : "https://github.com/mlflow/mlflow/commit/31ff9e56f5038d61ec75344518912945f60dffec"
}, {
"type" : "WEB",
"url" : "https://github.com/mlflow/mlflow/commit/d64cc8b673f71d29d93a7845fc179946ad56a881"
}, {
"type" : "WEB",
"url" : "https://github.com/SaiTeja-Erukude/CVE-2026-53995-mlflow-path-traversal"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/mlflow/mlflow"
}, {
"type" : "WEB",
"url" : "https://github.com/mlflow/mlflow/releases/tag/v3.18.0"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/mlflow-path-traversal-via-trace-id-api"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2026-10-23T21:34:10Z",
"nvd_published_at" : "2026-10-19T22:17:11Z"
}
}