{"id":"CVE-2026-0596","aliases":["CVE-2026-0596","GHSA-rvhj-8chj-8v3c","BIT-MLFLOW-2026-0596","PYSEC-2026-424"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in mlflow/mlflow","summary":"A command injection vulnerability exists in mlflow/mlflow when serving a model with `enable_mlserver=True`. The `model_uri` is embedded directly into a shell command executed via `bash -c` without proper sanitization. If the `model_uri` contains shell metacharacters, such as `$()` or backticks, it allows for command substitution and execution of attacker-controlled commands. This vulnerability affects the latest version of mlflow/mlflow and can lead to privilege escalation if a higher-privileged service serves models from a directory writable by lower-privileged users.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"A command injection vulnerability exists in mlflow/mlflow when serving a model with `enable_mlserver=True`. The `model_uri` is embedded directly into a shell command executed via `bash -c` without proper sanitization. If the `model_uri` contains shell metacharacters, such as `$()` or backticks, it allows for command substitution and execution of attacker-controlled commands. This vulnerability affects the latest version of mlflow/mlflow and can lead to privilege escalation if a higher-privileged service serves models from a directory writable by lower-privileged users.","source":"cvelist"},{"lang":"en","text":"A command injection vulnerability exists in Mlflow when serving a model with `enable_mlserver=True`. The `model_uri` is embedded directly into a shell command executed via `bash -c` without proper sanitization. If the `model_uri` contains shell metacharacters, such as `$()` or backticks, it allows for command substitution and execution of attacker-controlled commands. This vulnerability affects the latest version of mlflow/mlflow and can lead to privilege escalation if a higher-privileged service serves models from a directory writable by lower-privileged users.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de inyección de comandos existe en mlflow/mlflow al servir un modelo con 'enable_mlserver=True'. El 'model_uri' se incrusta directamente en un comando de shell ejecutado a través de 'bash -c' sin una sanitización adecuada. Si el 'model_uri' contiene metacaracteres de shell, como $() o comillas invertidas, permite la sustitución de comandos y la ejecución de comandos controlados por el atacante. Esta vulnerabilidad afecta la última versión de mlflow/mlflow y puede conducir a la escalada de privilegios si un servicio con mayores privilegios sirve modelos desde un directorio escribible por usuarios con menores privilegios.","source":"nvd"}],"published":"2026-03-31T14:25:27.716Z","modified":"2026-11-16T15:45:09.934Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"mlflow","product":"mlflow/mlflow","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"ghsa"},{"ranges":[],"vendor":"lfprojects","product":"mlflow","cpe":"cpe:2.3:a:lfprojects:mlflow:-:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.11.1"}],"ecosystem":"Bitnami","package":"mlflow","purl":"pkg:bitnami/mlflow","source":"bitnami"}],"references":[{"url":"https://huntr.com/bounties/2e905add-f9f5-4309-a3db-b17de5981285","tags":["advisory","exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0596","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/mlflow/mlflow/pull/19738","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mlflow/mlflow/commit/202fac4c83ccc8544c087c142b80196d0e60695c","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2026-424.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://pypi.org/project/mlflow","tags":["package","web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/advisories/GHSA-rvhj-8chj-8v3c","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-03-31T00:00:00.000Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-0596","url":"https://www.cve.org/CVERecord?id=CVE-2026-0596","licence":"CVE Terms of Use","modified":"2026-04-01T03:55:35.518Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-rvhj-8chj-8v3c","url":"https://github.com/advisories/GHSA-rvhj-8chj-8v3c","licence":"CC-BY-4.0","modified":"2026-11-16T15:45:09.934Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-0596","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-0596","licence":"Public domain","modified":"2026-07-21T19:10:00.107Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-424","url":"https://osv.dev/vulnerability/PYSEC-2026-424","licence":"CC-BY-4.0","modified":"2026-07-01T20:22:58.365Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MLFLOW-2026-0596","url":"https://osv.dev/vulnerability/BIT-MLFLOW-2026-0596","licence":"Apache-2.0","modified":"2026-09-10T16:00:36.154Z"}],"updatedAt":"2026-11-25T22:59:17.577Z","epss":{"score":0.01392,"percentile":0.73147,"date":"2026-12-01T12:00:22.000Z"}}