MLflow < 3.18.0 Path Traversal via model_id in log_outputs API
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mlflowmlflow |
< 3.18.0→ 3.18.0 |
3.18.0 |
| Bitnamimlflow |
< 3.18.0→ 3.18.0 |
3.18.0 |
Original description The description as published by the source.
MLflow before 3.18.0 using the FileStore backend contains a path traversal vulnerability that allows unauthenticated remote attackers to write files outside the intended run directory by supplying a malicious model_id parameter to the log outputs API. Attackers can exploit the unvalidated model_id containing ../ sequences via the POST /api/3.0/mlflow/runs/outputs endpoint to create directories and write a meta.yaml file at arbitrary filesystem locations, limited only by the server account's permissions. FileStore was the default backend before 3.7.0 and is opt-in afterward through MLFLOW_ALLOW_FILE_STORE.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com