CVE-2024-8769: Aim path traversal in LockManager.release_locks

CVE-2024-8769 · Severity: critical · CVSS 9.1 · Published 2025-03-20

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.

Technologies: aim (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2024-8769 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2024-8769 being exploited in the wild.
How severe is CVE-2024-8769?
Critical severity, with a CVSS score of 9.1, published 20 March 2025.
Which products and versions are affected?
aim (PyPI) >= 3.15.0, <= 3.27.0, ECOSYSTEM:introduced=3.15.0,last_affected=3.27.0.
Is there a fix for CVE-2024-8769?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
Am I affected by CVE-2024-8769?
Check whether you run aim (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Affected products

  • aim (PyPI) >= 3.15.0, <= 3.27.0, ECOSYSTEM:introduced=3.15.0,last_affected=3.27.0

Identifiers

  • CVE-2024-8769
  • GHSA-4qcx-jx49-6qrh
  • PYSEC-2026-258

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.