GitHub Advisoryadvisory · PyPI

GHSA-4qcx-jx49-6qrh Aim path traversal in LockManager.release_locks

CRITICAL Published 2025-03-20 Modified 2026-10-26 Official page ↗
Aliases
CVE-2024-8769
Ecosystem
PyPI
Packages
aim
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-22, CWE-29
Reviewed
2025-03-20

Affected packages

• PyPI aim: >= 3.15.0, <= 3.27.0 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-8769 A vulnerability in the `LockManager.release_locks` function in aimhubio/aim (commit bb76afe) allows for arbitrary file deletion through… vulnerability

Weakness · CWE (2)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
  • CWE-29 Path Traversal: '\..\filename' weakness

References