CVE-2025-15379: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in mlflow mlflow/mlflow
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.2.
AI Analysis
Technical Summary
This vulnerability arises from improper neutralization of special elements in shell commands constructed by MLflow during model deployment. Specifically, MLflow reads dependency specifications from the python_env.yaml file in the model artifact and interpolates them directly into a shell command without sanitization. This allows an attacker who can supply a crafted model artifact to execute arbitrary commands on the host system. The vulnerability affects MLflow versions >=3.8.0 and <3.8.2 and has a CVSS v3 score of 10.0, indicating critical severity. The vendor advisory from Red Hat confirms the issue and the fix in version 3.8.2.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary commands on systems deploying MLflow models with env_manager=LOCAL, potentially leading to full system compromise. The vulnerability impacts confidentiality, integrity, and availability with a maximum CVSS score of 10.0.
Mitigation Recommendations
An official fix is available in MLflow version 3.8.2. Users should upgrade affected installations to version 3.8.2 or later to remediate this vulnerability. No additional mitigations are specified in the vendor advisory.
CVE-2025-15379: CWE-77 Improper Neutralization of Special Elements used in a Command ('Command Injection') in mlflow mlflow/mlflow
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.2.
CVSS v3.0
Score 10.0critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from improper neutralization of special elements in shell commands constructed by MLflow during model deployment. Specifically, MLflow reads dependency specifications from the python_env.yaml file in the model artifact and interpolates them directly into a shell command without sanitization. This allows an attacker who can supply a crafted model artifact to execute arbitrary commands on the host system. The vulnerability affects MLflow versions >=3.8.0 and <3.8.2 and has a CVSS v3 score of 10.0, indicating critical severity. The vendor advisory from Red Hat confirms the issue and the fix in version 3.8.2.
Potential Impact
Successful exploitation allows unauthenticated attackers to execute arbitrary commands on systems deploying MLflow models with env_manager=LOCAL, potentially leading to full system compromise. The vulnerability impacts confidentiality, integrity, and availability with a maximum CVSS score of 10.0.
Mitigation Recommendations
An official fix is available in MLflow version 3.8.2. Users should upgrade affected installations to version 3.8.2 or later to remediate this vulnerability. No additional mitigations are specified in the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2025-12-30T21:24:21.058Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-15379","vendor":"Red Hat"}]
Threat ID: 69ca2868e6bfc5ba1de5eb91
Added to database: 03/30/2026, 07:38:16 UTC
Last enriched: 07/15/2026, 08:17:20 UTC
Last updated: 07/31/2026, 19:22:53 UTC
Views: 1138
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.