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

Source: https://junglewise.ai/threats/cve-2024-8769-aim-path-traversal-in-lockmanager-release-locks  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-03-20  
License: CC BY 4.0 with a link back

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)](https://junglewise.ai/threats/technologies/pypi-aim). Vendors: [PyPI](https://junglewise.ai/threats/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

## Related threats

- [PYSEC-2026-1087 - Aim vulnerable to Cross-site Scripting](https://junglewise.ai/threats/cve-2025-51464-aim-vulnerable-to-cross-site-scripting)
- [PYSEC-2026-1088 - Aim Vulnerable to Sandbox Escape Leading to Remote Code Execution](https://junglewise.ai/threats/cve-2025-5321-aim-vulnerable-to-sandbox-escape-leading-to-remote-code-execution)
- [PYSEC-2026-1085 - Aim Excessive Data Query Operations in a Large Data Table vulnerability](https://junglewise.ai/threats/cve-2025-0190-aim-excessive-data-query-operations-in-a-large-data-table)
- [PYSEC-2026-1089 - Aim Uncontrolled Resource Consumption vulnerability](https://junglewise.ai/threats/cve-2025-0189-aim-uncontrolled-resource-consumption-vulnerability)
- [PYSEC-2026-1094 - Aim Improper Access Control](https://junglewise.ai/threats/cve-2024-8238-aim-improper-access-control)
