{"id":"CVE-2025-14287","aliases":["GHSA-xch3-2f9x-wh9f","BIT-mlflow-2025-14287","PYSEC-2026-2661"],"title":"MLflow has a command injection in mlflow/sagemaker/__init__.py","summary":"MLflow has a command injection in mlflow/sagemaker/__init__.py","severity":"high","cvss":7.5,"cvssVector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","vendor":"mlflow","product":"mlflow","ecosystem":"pip","affected":["mlflow < 3.8.0rc0"],"patched":["mlflow 3.8.0rc0"],"published":"2026-03-16","updated":"2026-09-10","sourceUpdated":"2026-09-10T03:51:00.797853819Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-xch3-2f9x-wh9f","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-14287"},{"url":"https://github.com/mlflow/mlflow/pull/19277"},{"url":"https://github.com/mlflow/mlflow/commit/8b8792a7034fb33a14b0b31cabcaa9b912d3485f"},{"url":"https://github.com/mlflow/mlflow"},{"url":"https://github.com/mlflow/mlflow/releases/tag/v3.8.0rc0"},{"url":"https://huntr.com/bounties/229cd526-41aa-4819-b6f0-e2d0371c89e3"}],"tags":["osv","pip"],"epss":0.01456,"epssPercentile":0.72347,"ingestedAt":"2026-07-13T18:58:05.080Z","slug":"CVE-2025-14287","body":"## Overview\n\nA 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.\n\n## Affected packages\n\n- `mlflow < 3.8.0rc0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `mlflow 3.8.0rc0`","depth":"twilight","depthScore":42,"depthScoreParts":{"impact":41.3,"likelihood":0.3,"exploitation":0,"ransomware":0},"changes":[]}