{"id":"CVE-2025-15379","title":"A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the `_install_model_dependencies_to_env()` function","summary":"A command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the `_install_model_dependencies_to_env()` function. When deploying a model with `env_manager=LOCAL`, MLflow reads dependen…","severity":"critical","cvss":10,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","cwe":["CWE-77","CWE-78"],"vendor":"lfprojects","product":"mlflow","affected":["mlflow >= 3.8.0, < 3.8.1"],"patched":["mlflow 3.8.1"],"published":"2026-03-30","updated":"2026-09-04","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-15379","references":[{"url":"https://github.com/mlflow/mlflow/commit/361b6f620adf98385c6721e384fb5ef9a30bb05e","label":"security@huntr.dev"},{"url":"https://huntr.com/bounties/dc9c1c20-7879-4050-87df-4d095fe5ca75","label":"security@huntr.dev"},{"url":"https://access.redhat.com/security/cve/CVE-2025-15379","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452949","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15379.json","label":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15379"},{"url":"https://github.com/mlflow/mlflow/commit/a22ce7157f646bdce4c95106fc38ccc9ca289205"},{"url":"https://github.com/mlflow/mlflow"}],"tags":["nvd","osv","pip"],"epss":0.02359,"epssPercentile":0.83025,"ingestedAt":"2026-09-04T20:27:15.592Z","aliases":["GHSA-r23q-823p-vmf7","BIT-mlflow-2025-15379","PYSEC-2026-423"],"ecosystem":"pip","slug":"CVE-2025-15379","body":"## Overview\n\nA command injection vulnerability exists in MLflow's model serving container initialization code, specifically in the `_install_model_dependencies_to_env()` function. When deploying a model with `env_manager=LOCAL`, MLflow reads dependency specifications from the model artifact's `python_env.yaml` file and directly interpolates them into a shell command without sanitization. This allows an attacker to supply a malicious model artifact and achieve arbitrary command execution on systems that deploy the model. The vulnerability affects versions 3.8.0 and is fixed in version 3.8.2.\n\n## Affected\n\n- `mlflow >= 3.8.0, < 3.8.1`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `mlflow 3.8.1`\n\n## Package advisory (CVE-2025-15379)\n\nAffected packages:\n\n- `mlflow < 3.8.1`\n\nPatched in:\n\n- `mlflow 3.8.1`\n\nSource: https://osv.dev/vulnerability/GHSA-r23q-823p-vmf7","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":55,"likelihood":0.5,"exploitation":0,"ransomware":0},"changes":[]}