{"id":"CVE-2024-1558","aliases":["CVE-2024-1558","GHSA-j62r-wxqq-f3gf","BIT-MLFLOW-2024-1558","PYSEC-2026-1653"],"related":[],"kind":"vulnerability","state":"published","title":"Path Traversal Vulnerability in mlflow/mlflow","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Existe una vulnerabilidad de path traversal en la función `_create_model_version()` dentro de `server/handlers.py` del repositorio mlflow/mlflow, debido a una validación incorrecta del parámetro `source`. Los atacantes pueden explotar esta vulnerabilidad creando un parámetro `source` que pasa por alto las comprobaciones de la función `_validate_non_local_source_contains_relative_paths(source)`, permitiendo acceso de lectura arbitrario a archivos en el servidor. El problema surge del manejo de caracteres URL sin comillas y el posterior uso indebido del valor \"fuente\" original para la creación de la versión del modelo, lo que lleva a la exposición de archivos confidenciales al interactuar con el controlador \"/model-versions/get-artifact\".","source":"nvd"}],"published":"2024-04-16T00:00:14.626Z","modified":"2026-09-08T08:48:13.367Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"mlflow","product":"mlflow/mlflow","source":"cvelist"},{"ranges":[{"version":"2.9.2","status":"affected"}],"vendor":"lfprojects","product":"mlflow","cpe":"cpe:2.3:a:lfprojects:mlflow:2.9.2:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.12.1"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.12.1"}],"vendor":"lfprojects","product":"mlflow","cpe":"cpe:2.3:a:lfprojects:mlflow:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.12.1"}],"ecosystem":"PyPI","package":"mlflow","purl":"pkg:pypi/mlflow","source":"pysec"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.12.1"}],"ecosystem":"Bitnami","package":"mlflow","purl":"pkg:bitnami/mlflow","source":"bitnami"}],"references":[{"url":"https://huntr.com/bounties/7f4dbcc5-b6b3-43dd-b310-e2d0556a8081","tags":["advisory","exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1558","tags":["advisory","web"],"sources":["ghsa","pysec","bitnami"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/mlflow","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-j62r-wxqq-f3gf","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2024-05-30T19:29:10.659Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-1558","url":"https://www.cve.org/CVERecord?id=CVE-2024-1558","licence":"CVE Terms of Use","modified":"2024-08-01T18:40:21.526Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j62r-wxqq-f3gf","url":"https://github.com/advisories/GHSA-j62r-wxqq-f3gf","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:41.515Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-1558","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1558","licence":"Public domain","modified":"2026-06-17T07:04:30.073Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1653","url":"https://osv.dev/vulnerability/PYSEC-2026-1653","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:41.515Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-MLFLOW-2024-1558","url":"https://osv.dev/vulnerability/BIT-MLFLOW-2024-1558","licence":"Apache-2.0","modified":"2026-09-08T08:48:13.367Z"}],"updatedAt":"2026-11-25T22:58:39.233Z","epss":{"score":0.01149,"percentile":0.667,"date":"2026-11-30T12:00:22.000Z"}}