What’s Vulnerable › Vulnerabilities
CVE-2024-8769: Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim
- Severity: critical (CVSS 9.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-03-20 · updated 2026-06-17
- Weakness: CWE-22
Description
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.
Affected products
- aimhubio/aim: before 3.24.0 — fixed in 3.24.0
How to fix
Upgrade to a fixed version: aimhubio/aim 3.24.0. Check the vendor advisory for mitigations.
References
- https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7
- https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7
Get alerted when CVE-2024-8769 or the next vulnerability affects your stack