{"id":"CVE-2024-8769","summary":"Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim","details":"A vulnerability in the `LockManager.release_locks` function in aimhubio/aim (commit bb76afe) allows for arbitrary file deletion through relative path traversal. The `run_hash` parameter, which is user-controllable, is concatenated without normalization as part of a path used to specify file deletion. This vulnerability is exposed through the `Repo._close_run()` method, which is accessible via the tracking server instruction API. As a result, an attacker can exploit this to delete any arbitrary file on the machine running the tracking server.","aliases":["GHSA-4qcx-jx49-6qrh","PYSEC-2026-258"],"modified":"2026-08-12T03:51:31.112460784Z","published":"2025-03-20T10:11:22.123Z","database_specific":{"cna_assigner":"@huntr_ai","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8769.json"},"references":[{"type":"WEB","url":"https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8769.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8769"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/aimhubio/aim","events":[{"introduced":"0"},{"fixed":"bb76afe6e9a54364f322520cc4fea2679238f904"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:aimstack:aim:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.24.0"}]}}],"versions":["v3.23.0","v3.22.0","v3.21.0","v3.20.1","v3.19.1","v3.19.0","v3.18.1","v3.17.5","v3.17.4","v3.17.3","v3.17.2","v3.17.1","v3.17.0","v3.5.0","v3.4.0","v3.3.2","v3.3.1","v3.3.0","v3.2.0","v3.1.1","v3.1.0","v3.0.2","v3.0.1","v3.0.0","v3.0.0-beta6","v3.0.0-beta5","v2.7.0","v2.6.0","v2.5.0","v2.4.0","v2.3.0","v2.2.0","v2.1.6","pre-launch","v1.2.7rc1","v1.1.1","v1.1.0","v1.0.0","v0.2.6","v0.2.5","v0.2.4","v0.2.3","v0.2.2","v0.2.1","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8769.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H"}]}