CVE-2023-6909: MLflow: path traversal exposes arbitrary files (no auth)
HIGH PoC AVAILABLE NUCLEI TEMPLATEMLflow servers prior to 2.9.2 allow unauthenticated remote attackers to read arbitrary files via path traversal—no credentials needed. In MLOps environments this directly risks exposure of model artifacts, training data, API keys, and credentials stored on the MLflow host. Upgrade to 2.9.2+ immediately and restrict MLflow network exposure to trusted networks only.
What is the risk?
HIGH. CVSS vector AV:N/AC:L/PR:N/UI:N makes this trivially exploitable by any attacker with network access. MLflow instances are frequently deployed with internet or broad internal exposure for team collaboration. The confidentiality impact is severe: MLflow servers routinely hold experiment configs, model weights, API keys in .env files, cloud credentials, and data paths. No active KEV listing, but the zero-barrier exploitation and sensitivity of MLflow server contents make this a priority patch for any MLOps team.
What systems are affected?
| Package | Ecosystem | Vulnerable Range | Patched |
|---|---|---|---|
| MLflow | pip | — | No patch |
Do you use MLflow? You're affected.
How severe is it?
What is the attack surface?
What should I do?
5 steps-
PATCH
Upgrade MLflow to 2.9.2 or later immediately.
-
NETWORK CONTROLS
Restrict MLflow server access to trusted VPN/internal networks; remove any public internet exposure.
-
LEAST PRIVILEGE
Run MLflow with a dedicated service account with minimal filesystem permissions—limit readable directories to experiment artifacts only.
-
DETECTION
Search web/application logs for requests containing '../', '%2e%2e', or '..\\' patterns targeting MLflow endpoints.
-
AUDIT
Review MLflow server filesystem for sensitive files (credentials, SSH keys) and relocate them outside the accessible path.
How is it classified?
Which compliance frameworks are affected?
This CVE is relevant to:
Frequently Asked Questions
What is CVE-2023-6909?
MLflow servers prior to 2.9.2 allow unauthenticated remote attackers to read arbitrary files via path traversal—no credentials needed. In MLOps environments this directly risks exposure of model artifacts, training data, API keys, and credentials stored on the MLflow host. Upgrade to 2.9.2+ immediately and restrict MLflow network exposure to trusted networks only.
Is CVE-2023-6909 actively exploited?
Proof-of-concept exploit code is publicly available for CVE-2023-6909, increasing the risk of exploitation.
How to fix CVE-2023-6909?
1. PATCH: Upgrade MLflow to 2.9.2 or later immediately. 2. NETWORK CONTROLS: Restrict MLflow server access to trusted VPN/internal networks; remove any public internet exposure. 3. LEAST PRIVILEGE: Run MLflow with a dedicated service account with minimal filesystem permissions—limit readable directories to experiment artifacts only. 4. DETECTION: Search web/application logs for requests containing '../', '%2e%2e', or '..\\' patterns targeting MLflow endpoints. 5. AUDIT: Review MLflow server filesystem for sensitive files (credentials, SSH keys) and relocate them outside the accessible path.
What systems are affected by CVE-2023-6909?
This vulnerability affects the following AI/ML architecture patterns: ML experiment tracking, model registry, training pipelines, MLOps infrastructure, CI/CD for ML.
What is the CVSS score for CVE-2023-6909?
CVE-2023-6909 has a CVSS v3.1 base score of 7.5 (HIGH). The EPSS exploitation probability is 89.72%.
What is the AI security impact?
Affected AI Architectures
MITRE ATLAS Techniques
AML.T0025 Exfiltration via Cyber Means AML.T0035 AI Artifact Collection AML.T0037 Data from Local System AML.T0049 Exploit Public-Facing Application Compliance Controls Affected
What are the technical details?
Original Advisory
Path Traversal: '\..\filename' in GitHub repository mlflow/mlflow prior to 2.9.2.
Exploitation Scenario
An attacker scans for exposed MLflow instances (default port 5000) via Shodan or similar. With no authentication required, they craft a GET request with a path traversal payload (e.g., /get-artifact?path=../../../../etc/passwd or ~/.aws/credentials). In a typical MLOps pipeline, MLflow runs with access to training data storage, model registries, and CI/CD secrets. The attacker iterates through common credential paths to extract cloud provider keys, enabling lateral movement to S3/GCS buckets containing training data or production model artifacts—potentially poisoning future model versions.
Weaknesses (CWE)
CWE-29 — Path Traversal: '\..\filename': The product uses external input to construct a pathname that should be within a restricted directory, but it does not properly neutralize '\..\filename' (leading backslash dot dot) sequences that can resolve to a location that is outside of that directory.
- [Implementation] Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue." Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylis
- [Implementation] Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
Source: MITRE CWE corpus.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N References
Timeline
Scanner Template Available
A Nuclei vulnerability scanner template exists for this CVE. You can scan your infrastructure for this vulnerability immediately.
View template on GitHubnuclei -t http/cves/2023/CVE-2023-6909.yaml -u https://target.example.com Related Vulnerabilities
CVE-2025-15379 10.0 MLflow: RCE via unsanitized model dependency specs
Same package: mlflow CVE-2023-3765 10.0 MLflow: path traversal allows arbitrary file read
Same package: mlflow CVE-2026-2635 9.8 mlflow: security flaw enables exploitation
Same package: mlflow CVE-2023-1177 9.8 MLflow: path traversal allows arbitrary file read/write
Same package: mlflow CVE-2023-2780 9.8 MLflow: path traversal allows arbitrary file read/write
Same package: mlflow