CVE-2025-14287
HIGH 8.8CVSS 3.1MLflow has a command injection in mlflow/sagemaker/__init__.py
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.
- Published
- 16 Mar 2026
- Last modified
- 10 Sep 2026
- Assigned by
- security@huntr.dev
- NVD status
- Modified
- Weakness
- CWE-78CWE-94
- Also known as
- BIT-mlflow-2025-14287GHSA-xch3-2f9x-wh9fPYSEC-2026-2661
- Sources
- NVDJSONOSV GHSA-xch3-2f9x-wh9fJSONOSV PYSEC-2026-2661JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | HIGH 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | lfprojects | mlflowcpe:2.3:a:lfprojects:mlflow:*:-:*:*:*:*:*:* |
< 3.7.0 | 3.7.0 |
| OSV | PyPI | mlflow | < 3.8.0rc0 | 3.8.0rc0 |
References
- https://huntr.com/bounties/229cd526-41aa-4819-b6f0-e2d0371c89e3 · Exploit, Third Party Advisory, WEB
- https://access.redhat.com/security/cve/CVE-2025-14287
- https://bugzilla.redhat.com/show_bug.cgi?id=2447690
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14287.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-14287 · ADVISORY
- https://github.com/mlflow/mlflow/pull/19277 · WEB
- https://github.com/mlflow/mlflow/commit/8b8792a7034fb33a14b0b31cabcaa9b912d3485f · WEB
- https://github.com/mlflow/mlflow · PACKAGE
- https://github.com/mlflow/mlflow/releases/tag/v3.8.0rc0 · WEB
- https://pypi.org/project/mlflow · PACKAGE
- https://github.com/advisories/GHSA-xch3-2f9x-wh9f · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 16 Mar 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 16 Mar 2026)