CVE-2023-6940 Command Injection

Critical 9.0 Published Updated

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.

PackageAffectedFixed in
mlflow BitnamiAll versions2.9.2
mlflow PyPIAll versions2.9.2
mlflow PyPIAll versions2.9.2
mlflow PyPIAll versions2.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.

All Lfprojects Mlflow vulnerabilities

Sources

Also known as BIT-mlflow-2023-6940, CLSA-2026-1789728540, GHSA-hvc6-42vf-jhf8, PYSEC-2026-1652.

Is CVE-2023-6940 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free