VDB
Sign up
HIGH8.2

GHSA-wqmh-qccw-pqwf

MLflow FileStore trace IDs allow path traversal and arbitrary file writes

Quick fix

GHSA-wqmh-qccw-pqwf — mlflow: upgrade to the fixed version with the command below.

pip install --upgrade 'mlflow>=3.17.2'

Details

MLflow 3.17.1 and earlier contains a path traversal vulnerability in the FileStore tracking backend that allows unauthenticated attackers to control filesystem paths by submitting a crafted trace ID containing traversal sequences to the POST /api/3.0/mlflow/traces endpoint. Attackers can exploit FileStore.start_trace() to write trace_info.yaml, request_metadata, and tag files with attacker-controlled metadata outside the intended experiment trace directory, subject to the server process's filesystem permissions. FileStore is the default tracking backend before MLflow 3.7.0 and opt-in thereafter (the default changed to a SQLite database), so deployments in the earlier part of the affected range are vulnerable without special configuration while later ones are affected only when FileStore is explicitly selected.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mlflow
Introduced in: 0Fixed in: 3.17.2
Fixpip install --upgrade 'mlflow>=3.17.2'

References