{"id":"CVE-2024-1558","published":"2024-04-16T00:00:14Z","modified":"2024-08-01T18:40:21Z","title":"Path Traversal Vulnerability in mlflow/mlflow","vendor":"mlflow","product":"mlflow/mlflow","tier":"tail","description":{"text":"A path traversal vulnerability exists in the `_create_model_version()` function within `server/handlers.py` of the mlflow/mlflow repository, due to improper validation of the `source` parameter. Attackers can exploit this vulnerability by crafting a `source` parameter that bypasses the `_validate_non_local_source_contains_relative_paths(source)` function's checks, allowing for arbitrary file read access on the server. The issue arises from the handling of unquoted URL characters and the subsequent misuse of the original `source` value for model version creation, leading to the exposure of sensitive files when interacting with the `/model-versions/get-artifact` handler.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01149,"percentile":0.66632,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081","tags":[]}],"priority":{"score":18.6,"factors":[{"name":"EPSS percentile","points":13.33},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"mlflow","affectedVersions":[{"vendor":"mlflow","product":"mlflow/mlflow","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-05-30T19:29:10.659798Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"mlflow","vulnerableRanges":["<2.12.1"],"patched":["2.12.1"],"from":["GHSA-j62r-wxqq-f3gf","PYSEC-2026-1653"],"provenance":"source"}],"summary":{"text":"A path traversal flaw exists in the _create_model_version() function in server/handlers.py of the mlflow/mlflow product, where the source parameter is improperly validated. An attacker who can reach the server over the network, without authentication or user interaction, can craft a source value that bypasses the relative-path checks and reads arbitrary files on the server, including sensitive ones exposed through the /model-versions/get-artifact handler.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:52:33Z"},"euvd":{"id":"EUVD-2024-1230","exploited":false,"provenance":"source"}}