MediumGHSA-vwhf-3v6x-wff8BIT-mlflow-2023-6568CVE-2023-6568PYSEC-2023-260

Cross-site Scripting (XSS) in MLflow

Published 7 Dec 2023 · Updated 16 Apr 2024

Is your project on an affected mlflow?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

mlflowPyPI
Affected
<2.9.0
Fixed in
2.9.0
Update to the fixed version for your release line, for example:pip install 'mlflow>=2.9.0'

Details

A reflected Cross-Site Scripting (XSS) vulnerability exists in the mlflow/mlflow repository, specifically within the handling of the Content-Type header in POST requests. An attacker can inject malicious JavaScript code into the Content-Type header, which is then improperly reflected back to the user without adequate sanitization or escaping, leading to arbitrary JavaScript execution in the context of the victim's browser. The vulnerability is present in the mlflow/server/auth/__init__.py file, where the user-supplied Content-Type header is directly injected into a Python formatted string and returned to the user, facilitating the XSS attack.

Is GHSA-vwhf-3v6x-wff8 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
All 87 advisories for mlflow

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.