{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-1560","id":"CVE-2024-1560","title":"Path Traversal Vulnerability in mlflow/mlflow","description":"A path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the artifact deletion functionality. Attackers can bypass path validation by exploiting the double decoding process in the `_delete_artifact_mlflow_artifacts` handler and `local_file_uri_to_path` function, allowing for the deletion of arbitrary directories on the server's filesystem. This vulnerability is du","descriptionLong":"A path traversal vulnerability exists in the mlflow/mlflow repository, specifically within the artifact deletion functionality. Attackers can bypass path validation by exploiting the double decoding process in the `_delete_artifact_mlflow_artifacts` handler and `local_file_uri_to_path` function, allowing for the deletion of arbitrary directories on the server's filesystem. This vulnerability is due to an extra unquote operation in the `delete_artifacts` function of `local_artifact_repo.py`, which fails to properly sanitize user-supplied paths. The issue is present up to version 2.9.2, despite attempts to fix a similar issue in CVE-2023-6831.","published":"2024-04-16T00:00:13.649Z","updated":"2026-10-28T02:30:54.691923923Z","reserved":"2024-02-15T19:02:52.076Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":8.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["mlflow/mlflow"],"affectedProducts":[{"vendor":"mlflow","product":"mlflow/mlflow","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"mlflow","purl":"pkg:pypi/mlflow","ranges":["<=2.9.2"],"fixed":[],"advisory":"GHSA-5mvj-wmgj-7q8c"}],"cwes":["CWE-22"],"aliases":["BIT-mlflow-2024-1560","GHSA-5mvj-wmgj-7q8c","PYSEC-2026-1641"],"references":[{"url":"https://huntr.com/bounties/4a34259c-3c8f-4872-b178-f27fbc876b98","tags":["x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/1xxx/CVE-2024-1560.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1560","tags":["advisory"]},{"url":"https://github.com/mlflow/mlflow","tags":["package"]},{"url":"https://pypi.org/project/mlflow","tags":["package"]},{"url":"https://github.com/advisories/GHSA-5mvj-wmgj-7q8c","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00856,"epssPercentile":0.59159,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-1560","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-1560","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-1560","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-5mvj-wmgj-7q8c","ok":true,"note":"GHSA-5mvj-wmgj-7q8c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-1560","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}