Path Traversal in Aimhubio Aimhubio/aim

CVE-2024-8769

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.008 (54.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-8769?
CVE-2024-8769 is a critical-severity vulnerability in Aimhubio Aimhubio/aim, classified under Path Traversal. CVSS score: 9.1/10. Published 2025-03-20.
How severe is CVE-2024-8769?
Critical severity. CVSS v3 base score is 9.1 out of 10.