CVE-2025-14287: CWE-94 Improper Control of Generation of Code in mlflow mlflow/mlflow
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.
AI Analysis
Technical Summary
This vulnerability (CVE-2025-14287) in mlflow/mlflow before version 3.7.0 arises from improper control of code generation (CWE-94) and command injection (CWE-78) in the mlflow/sagemaker/__init__.py file at lines 161-167. Specifically, user input for container image names is directly interpolated into shell commands executed with os.system() without sanitization, enabling arbitrary command execution via the CLI's --container parameter. The CVSS 3.0 score is 7.5, indicating high severity with network attack vector, high impact on confidentiality, integrity, and availability, and requiring user interaction with high attack complexity.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary commands on affected systems by supplying malicious input to the --container parameter. This can lead to full compromise of the environment running MLflow, affecting confidentiality, integrity, and availability of the system and data. The vulnerability impacts development setups, CI/CD pipelines, and cloud deployments using vulnerable versions of mlflow.
Mitigation Recommendations
A fix is available in mlflow version 3.7.0 and later. Users should upgrade to version 3.7.0 or newer to remediate this vulnerability. There is no indication from the vendor advisory that the issue is already mitigated or requires no action. Until upgrading, avoid using untrusted input for the --container parameter or restrict access to trusted users only.
CVE-2025-14287: CWE-94 Improper Control of Generation of Code in mlflow mlflow/mlflow
Description
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.
CVSS v3.0
Score 7.5high
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 (CVE-2025-14287) in mlflow/mlflow before version 3.7.0 arises from improper control of code generation (CWE-94) and command injection (CWE-78) in the mlflow/sagemaker/__init__.py file at lines 161-167. Specifically, user input for container image names is directly interpolated into shell commands executed with os.system() without sanitization, enabling arbitrary command execution via the CLI's --container parameter. The CVSS 3.0 score is 7.5, indicating high severity with network attack vector, high impact on confidentiality, integrity, and availability, and requiring user interaction with high attack complexity.
Potential Impact
Successful exploitation allows remote attackers to execute arbitrary commands on affected systems by supplying malicious input to the --container parameter. This can lead to full compromise of the environment running MLflow, affecting confidentiality, integrity, and availability of the system and data. The vulnerability impacts development setups, CI/CD pipelines, and cloud deployments using vulnerable versions of mlflow.
Mitigation Recommendations
A fix is available in mlflow version 3.7.0 and later. Users should upgrade to version 3.7.0 or newer to remediate this vulnerability. There is no indication from the vendor advisory that the issue is already mitigated or requires no action. Until upgrading, avoid using untrusted input for the --container parameter or restrict access to trusted users only.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- @huntr_ai
- Date Reserved
- 2025-12-08T19:06:12.739Z
- Cvss Version
- 3.0
- State
- PUBLISHED
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2025-14287","vendor":"Red Hat"}]
Threat ID: 69b7c1499d4df4518337533f
Added to database: 03/16/2026, 08:37:29 UTC
Last enriched: 07/15/2026, 08:16:32 UTC
Last updated: 07/31/2026, 19:22:53 UTC
Views: 173
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.