{"id":"CVE-2025-15379","kind":"vulnerability","aliases":["CVE-2025-15379","GHSA-r23q-823p-vmf7"],"related":[],"title":"MLflow Command Injection vulnerability","description":"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 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.1.","summary":"MLflow builds a shell command from dependency entries in a model's python_env.yaml without sanitizing them when deploying with env_manager=LOCAL. A malicious model artifact can make the server run arbitrary commands on any system that deploys it.","severity":"critical","cvss":10.0,"epss":0.02401,"exploited":false,"exploited_at":null,"products":[{"name":"mlflow","fixed":["3.8.1"],"affected":"< 3.8.1","ecosystem":"pypi"},{"name":"lfprojects mlflow","fixed":["3.8.1"],"affected":">= 3.8.0, < 3.8.1","ecosystem":"vendor"},{"via":"cpe","name":"mlflow","fixed":["3.8.1"],"affected":">= 3.8.0, < 3.8.1","ecosystem":"pypi"}],"ecosystems":["pypi","vendor"],"tags":["cwe-77","cwe-78","ml-platform","mlflow","model-serving","package","python"],"not_affected_if":["default-config","trusted-artifacts-only"],"how_to_check":"- Check the installed version with `pip show mlflow`, looking for `3.8.0`.\n- Look for model deployments that use `env_manager=LOCAL` and load artifacts from sources you do not fully control.","fix":"- `mlflow` upgrade to `3.8.1`","status":"open","published_at":"2026-03-30T08:16:15+00:00","first_seen_at":"2026-11-16T15:32:33+00:00","triaged_at":"2026-11-16T15:33:42+00:00","updated_at":"2026-11-16T15:37:59+00:00","category":"package","confidence":0.8,"triage":{"at":"2026-11-16T15:33:42Z","model":"claude-haiku-5-5","output":{"fix":"- `mlflow` upgrade to `3.8.1`","reach":"network","title":"MLflow: malicious model artifact runs commands during local model serving","impact":"high","summary":"MLflow builds a shell command from dependency entries in a model's python_env.yaml without sanitizing them when deploying with env_manager=LOCAL. A malicious model artifact can make the server run arbitrary commands on any system that deploys it.","audience":"developers","category":"package","nicknames":[],"who_cares":["mlflow","python","model-serving","ml-platform"],"confidence":0.8,"fix_status":"available","needs_auth":"no","worst_case":"Attacker runs arbitrary commands on the model serving host","analyst_note":"","how_to_check":"- Check the installed version with `pip show mlflow`, looking for `3.8.0`.\n- Look for model deployments that use `env_manager=LOCAL` and load artifacts from sources you do not fully control.","plain_action":"","product_name":"","needs_analyst":false,"not_affected_if":["default-config","trusted-artifacts-only"],"who_is_affected":"Teams that deploy MLflow models with env_manager=LOCAL, especially when the model artifacts come from untrusted or shared sources. Deployments that only serve models you built and trust, or that use a different environment manager, are less exposed. The sources only name version 3.8.0 as affected and 3.8.1 as fixed, so other versions below 3.8.1 should be treated with care.","user_interaction":"no","product_ecosystem":"","needs_special_setup":"yes","severity_if_unknown":"critical"},"cost_usd":0.000749,"input_tokens":4701,"output_tokens":557,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-15379':7A,15A '-2025':6A,14A '-77':21B '-78':23B '3.8.0':147C '3.8.1':153C '823p':11A 'achiev':133C 'affect':145C 'allow':123C 'arbitrari':64B,134C 'artifact':58B,108C,131C 'attack':125C 'build':34B 'code':83C 'command':2A,37B,65B,72C,119C,135C 'contain':81C 'cve':5A,13A 'cwe':20B,22B 'depend':39B,89C,103C 'deploy':50B,70B,94C,140C 'direct':113C 'entri':40B 'env':52B,91C,98C 'execut':136C 'exist':75C 'file':111C 'fix':150C 'function':92C 'ghsa':9A 'ghsa-r23q-823p-vmf7':8A 'initi':82C 'inject':3A,73C 'instal':87C 'interpol':114C 'lfprojects':17A 'local':54B,100C 'make':60B 'malici':56B,129C 'manag':53B,99C 'ml':25B 'ml-platform':24B 'mlflow':1A,16A,18A,19A,27B,33B,77C,101C 'model':29B,43B,57B,79C,88C,96C,107C,130C,142C 'model-serv':28B 'packag':31B 'platform':26B 'python':32B 'python_env.yaml':45B,110C 'r23q':10A 'read':102C 'run':63B 'sanit':47B,121C 'serv':30B,80C 'server':62B 'shell':36B,118C 'specif':84C,104C 'suppli':127C 'system':68B,138C 'version':146C,152C 'vmf7':12A 'vulner':4A,74C,144C 'without':46B,120C","nicknames":[],"mitigations":[],"who_affected":"Teams that deploy MLflow models with env_manager=LOCAL, especially when the model artifacts come from untrusted or shared sources. Deployments that only serve models you built and trust, or that use a different environment manager, are less exposed. The sources only name version 3.8.0 as affected and 3.8.1 as fixed, so other versions below 3.8.1 should be treated with care.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"available","audience":"developers","plain_action":null,"pkeys":["lfprojectsmlflow","mlflow"],"ptokens":["lfprojects","mlflow"],"labels":["critical","cwe77","cwe78","mlflow","mlplatform","modelserving","package","pypi","python","vendor"],"campaign_type":null,"search_a":"'-15379':7A,15A '-2025':6A,14A '823p':11A 'command':2A 'cve':5A,13A 'ghsa':9A 'ghsa-r23q-823p-vmf7':8A 'inject':3A 'lfprojects':17A 'mlflow':1A,16A,18A,19A 'r23q':10A 'vmf7':12A 'vulner':4A","search_b":"'-77':21B '-78':23B 'arbitrari':64B 'artifact':58B 'build':34B 'command':37B,65B 'cwe':20B,22B 'depend':39B 'deploy':50B,70B 'entri':40B 'env':52B 'local':54B 'make':60B 'malici':56B 'manag':53B 'ml':25B 'ml-platform':24B 'mlflow':27B,33B 'model':29B,43B,57B 'model-serv':28B 'packag':31B 'platform':26B 'python':32B 'python_env.yaml':45B 'run':63B 'sanit':47B 'serv':30B 'server':62B 'shell':36B 'system':68B 'without':46B","search_c":"'3.8.0':147C '3.8.1':153C 'achiev':133C 'affect':145C 'allow':123C 'arbitrari':134C 'artifact':108C,131C 'attack':125C 'code':83C 'command':72C,119C,135C 'contain':81C 'depend':89C,103C 'deploy':94C,140C 'direct':113C 'env':91C,98C 'execut':136C 'exist':75C 'file':111C 'fix':150C 'function':92C 'initi':82C 'inject':73C 'instal':87C 'interpol':114C 'local':100C 'malici':129C 'manag':99C 'mlflow':77C,101C 'model':79C,88C,96C,107C,130C,142C 'python_env.yaml':110C 'read':102C 'sanit':121C 'serv':80C 'shell':118C 'specif':84C,104C 'suppli':127C 'system':138C 'version':146C,152C 'vulner':74C,144C 'without':120C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-03-30T08:16:15+00:00","kev":null,"cvss_vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","cvss_by":"GitHub","poc_count":1,"sources":[{"source":"ghsa","external_id":"GHSA-r23q-823p-vmf7","url":"https://github.com/advisories/GHSA-r23q-823p-vmf7","severity":"critical","published_at":"2026-03-30T09:31:28+00:00","modified_at":"2026-11-16T15:30:58+00:00","first_seen_at":"2026-11-16T15:32:33+00:00","fetched_at":"2026-11-16T15:36:40+00:00","note":null},{"source":"nvd","external_id":"CVE-2025-15379","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-15379","severity":null,"published_at":"2026-03-30T08:16:15+00:00","modified_at":"2026-09-04T20:02:09+00:00","first_seen_at":"2026-11-16T15:37:59+00:00","fetched_at":"2026-11-16T15:37:59+00:00","note":null}],"documents":[{"id":170411,"url":"https://github.com/mlflow/mlflow/commit/361b6f620adf98385c6721e384fb5ef9a30bb05e","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170412,"url":"https://github.com/mlflow/mlflow/commit/a22ce7157f646bdce4c95106fc38ccc9ca289205","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":170666,"url":"https://huntr.com/bounties/dc9c1c20-7879-4050-87df-4d095fe5ca75","title":"Exploit: huntr.com","kind":"poc","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"poc","confidence":null,"note":"Exploit: huntr.com"},{"id":170667,"url":"https://access.redhat.com/security/cve/CVE-2025-15379","title":"Third-party advisory: access.redhat.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: access.redhat.com"},{"id":170668,"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2452949","title":"Third-party advisory: bugzilla.redhat.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: bugzilla.redhat.com"},{"id":170669,"url":"https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-15379.json","title":"Third-party advisory: security.access.redhat.com","kind":"advisory","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"advisory","confidence":null,"note":"Third-party advisory: security.access.redhat.com"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://huntr.com/bounties/dc9c1c20-7879-4050-87df-4d095fe5ca75"},{"type":"epss","score":0.02401,"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-15379"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}