HighGHSA-vqj2-4v8m-8vrqBIT-mlflow-2022-0736CVE-2022-0736PYSEC-2022-28
Insecure Temporary File in mlflow
Published 24 Feb 2022 · Updated 21 Feb 2025
Is your project on an affected mlflow?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
mlflowPyPI
- Affected
- <1.23.1
- Fixed in
- 1.23.1
Update to the fixed version for your release line, for example:
pip install 'mlflow>=1.23.1'Details
mlflow prior to 1.23.1 contains an insecure temporary file. The insecure function tempfile.mktemp() is deprecated and mkstemp() should be used instead.
Is GHSA-vqj2-4v8m-8vrq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected mlflow, and gives you the command that fixes it.
More advisories for mlflow
- HighCVE-2026-116690MLflow vulnerable to arbitrary file read on unauthenticated servers via prompt model version source · 27 Oct 2026
- MediumCVE-2026-116691MLflow CrewAI autologging records LLM provider API keys in logged trace spans · 27 Oct 2026
- CriticalCVE-2026-116692MLflow vulnerable to remote code execution on unauthenticated servers via third-party scorer deserialization importing caller-placed artifact modules · 27 Oct 2026
- MediumCVE-2026-115886MLflow: SSRF on unauthenticated MLflow servers via third-party scorer kwargs in the scorer invoke, register, and GenAI evaluate endpoints · 23 Oct 2026
- HighCVE-2026-53995MLflow FileStore trace IDs allow path traversal and arbitrary file writes · 20 Oct 2026
- HighGHSA-gqvg-gmmx-x4hmMLFLOW_ALLOW_PICKLE_DESERIALIZATION=False safety control bypassed by mlflow.statsmodels flavor — RCE via crafted model artifact · 1 Sept 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2022-0736
- Linkgithub.com/mlflow/mlflow/commit/61984e6843d2e59235d82a580c529920cd8f3711
- Advisorygithub.com/advisories/GHSA-vqj2-4v8m-8vrq
- Packagegithub.com/mlflow/mlflow
- Linkgithub.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2022-28.yaml
- Linkhuntr.dev/bounties/e5384764-c583-4dec-a1d8-4697f4e12f75
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.