Insecure Temporary File in mlflow
mlflow prior to 1.23.1 contains an insecure temporary file. The insecure function tempfile.mktemp() is deprecated and mkstemp() should be used instead.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | mlflow | < 1.23.1 | 1.23.1 |
References
- https://huntr.dev/bounties/e5384764-c583-4dec-a1d8-4697f4e12f75
- https://github.com/mlflow/mlflow/commit/61984e6843d2e59235d82a580c529920cd8f3711
- https://github.com/advisories/GHSA-vqj2-4v8m-8vrq
- https://nvd.nist.gov/vuln/detail/CVE-2022-0736
- https://github.com/mlflow/mlflow
- https://github.com/pypa/advisory-database/tree/main/vulns/mlflow/PYSEC-2022-28.yaml
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H- Weakness (CWE)
CWE-377, CWE-668- Platform
- Python (PyPI)
- Package
mlflow- Disclosed
- 23.02.2022
- Updated
- 11.10.2026 12:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2022-28 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-vqj2-4v8m-8vrq - CC BY 4.0
Vulnerability history: mlflow
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 82
- First → latest
- 02.2022 09.2026
- Without a fix
- 18
- Exploited in attacks
- 1
Severity breakdown
- Critical 20
- High 48
- Medium 13
- Low 1
Disclosures per year
- 2022: 1
- 2023: 22
- 2024: 24
- 2025: 8
- 2026: 27
-
Insecure Temporary File in mlflow this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.