CVE-2023-6940 Command Injection
Attackers can execute arbitrary commands on victim systems by tricking users into downloading a malicious configuration file.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-6940?
CVE-2023-6940 is a critical command injection vulnerability in Lfprojects Mlflow, published on 19 Dec 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
with only one user interaction(download a malicious config), attackers can gain full command execution on the victim system.
Weakness: CWE-77
Which versions are affected by CVE-2023-6940?
4 open source packages ship an affected version, including mlflow. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
mlflow Bitnami | All versions | 2.9.2 |
mlflow PyPI | All versions | 2.9.2 |
mlflow PyPI | All versions | 2.9.2 |
mlflow PyPI | All versions | 2.9.2 |
Products include Lfprojects Mlflow.
How do I fix CVE-2023-6940?
Upgrade mlflow to 2.9.2 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-6940 being exploited?
There is no known exploitation of CVE-2023-6940 in the wild and no public exploit code.
Other vulnerabilities in Lfprojects Mlflow
- CVE-2026-64849 MLflow Server-Side Request Forgery
- CVE-2025-15379 Command Injection in mlflow/mlflow
- CVE-2024-0520 Remote Code Execution due to Full Controlled File Write in mlflow/mlflow
- CVE-2023-6977 Path Traversal: '\..\filename'
- CVE-2023-6709 Improper Neutralization of Special Elements Used in a Template Engine in mlflow/mlflow
Sources
Also known as BIT-mlflow-2023-6940, CLSA-2026-1789728540, GHSA-hvc6-42vf-jhf8, PYSEC-2026-1652.