CVE-2025-14287
published high CVSS 3.0 · 7.5Command Injection in mlflow/mlflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| mlflow | — | mlflow/mlflowunspecified through latest | Affected | Not stated | @huntr_ai |
| Red Hat | — | rhoai/odh-mlflow-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-training-cuda128-torch29-py312-rhel9Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
Description
A command injection vulnerability exists in mlflow/mlflow versions before v3.7.0, specifically in the `mlflow/sagemaker/__init__.py` file at lines 161-167. The vulnerability arises from the direct interpolation of user-supplied container image names into shell commands without proper sanitization, which are then executed using `os.system()`. This allows attackers to execute arbitrary commands by supplying malicious input through the `--container` parameter of the CLI. The issue affects environments where MLflow is used, including development setups, CI/CD pipelines, and cloud deployments.
A flaw was found in MLflow, a platform for managing the machine learning lifecycle. This vulnerability, known as command injection, allows an attacker to execute unauthorized commands on the system. By providing specially crafted input through the `--container` parameter, an attacker can bypass security checks and inject malicious code. This can lead to arbitrary command execution, potentially compromising the integrity and confidentiality of the affected system.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | redhat-SADP · adp | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| mlflow | mlflow/mlflow | unspecified through latest (affected · custom) | @huntr_ai · cna |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-94 CWE-94 Improper Control of Generation of Code
- CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
References
4- https://access.redhat.com/security/cve/CVE-2025-14287
- RHBZ#2447690 https://bugzilla.redhat.com/show_bug.cgi?id=2447690
- https://huntr.com/bounties/229cd526-41aa-4819-b6f0-e2d0371c89e3
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14287.json
Provider assertions
3@huntr_ai · cna
Command Injection in mlflow/mlflow
redhat-SADP · adp
mlflow: MLflow: Arbitrary command execution via unsanitized container image names
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4d70b134a87b10bbb21df1511cf279927426d603efd8453691a16d78df9e6904
- Ingested
- 23 Sep 2026, 08:37:44 UTC
- Source record
- Official CVE record