Skip to content
Heist/ feed
Back to feed
High

Command Injection in mlflow/mlflow

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-14287
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 20:38 UTC · Revision 1

Source evidence

Command Injection in mlflow/mlflow

core-osv · Original source

Published 15 Mar 2026, 09:27 UTC

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.

osv:CVE-2025-14287
Complete source record
{
  "id": "b7a644d1762623c39bc97c452f894cd0de1368781b493758771b01152d0b1748",
  "url": "https://osv.dev/vulnerability/CVE-2025-14287",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Command Injection in mlflow/mlflow",
    "summary": "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.",
    "evidence": "osv:CVE-2025-14287",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2025-14287",
      "aliases": [
        "BIT-mlflow-2025-14287",
        "CVE-2025-14287",
        "GHSA-xch3-2f9x-wh9f",
        "PYSEC-2026-2661"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mlflow/mlflow",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "c4d8b3a29dff5b443bb825dbaec735c37343a801"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:lfprojects:mlflow:*:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.7.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.7.0rc0",
            "nightly",
            "v3.0.0",
            "v2.2.0",
            "v1.7.0",
            "1.0.0",
            "v0.8.1",
            "v0.8.0",
            "v0.7",
            "v0.6.0",
            "v0.5.0",
            "v0.4.2",
            "v0.4.1",
            "v0.4.0",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-14287.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.079893080Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/229cd526-41aa-4819-b6f0-e2d0371c89e3",
        "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-14287.json",
        "https://access.redhat.com/security/cve/CVE-2025-14287",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14287.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-14287",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2447690"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-94"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/14xxx/CVE-2025-14287.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-14287",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 506763,
  "published_at": "2026-03-15T09:27:36.706+00:00"
}