{"id":"CVE-2024-8769","aliases":["GHSA-4qcx-jx49-6qrh","PYSEC-2026-258"],"title":"Aim path traversal in LockManager.release_locks","summary":"Aim path traversal in LockManager.release_locks","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","vendor":"aim","product":"aim","ecosystem":"pip","affected":["aim >= 3.15.0, <= 3.27.0"],"published":"2025-03-20","updated":"2026-10-26","sourceUpdated":"2026-10-26T21:15:03.699329750Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-4qcx-jx49-6qrh","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8769"},{"url":"https://github.com/aimhubio/aim"},{"url":"https://github.com/aimhubio/aim/blob/bb76afe6e9a54364f322520cc4fea2679238f904/aim/sdk/lock_manager.py#L140"},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-258.yaml"},{"url":"https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7"},{"url":"https://pypi.org/project/aim"},{"url":"https://github.com/advisories/GHSA-4qcx-jx49-6qrh"}],"tags":["osv","pip","ghsa"],"epss":0.00927,"epssPercentile":0.60317,"cwe":["CWE-22","CWE-29"],"ingestedAt":"2026-09-12T03:13:01.654Z","slug":"CVE-2024-8769","body":"## Overview\n\nA 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.\n\n## Affected packages\n\n- `aim >= 3.15.0, <= 3.27.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0.2,"exploitation":0,"ransomware":0},"changes":[]}