Vulnerability · Published Mar 20, 2025 · Assigned by @huntr_ai

CVE-2024-8769Arbitrary File Deletion via Relative Path Traversal in aimhubio/aim

Critical 9.1

In plain English

A critical-severity path traversal in aimhubio/aim from aimhubio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 61% of all known vulnerabilities).

Severity (CVSS 3.0)9.1Critical
Exploit odds (30 days)0.9%top 39.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIaimno fix listedGHSA-4qcx-jx49-6qrh
PyPIaimno fix listedPYSEC-2026-258

Affected products (as reported)

VendorProductVersions
aimhubio aimhubio/aim unspecified – through latest

Weakness: CWE-22 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

References