Aim path traversal in LockManager.release_locks
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | aim | >= 3.15.0, <= 3.27.0 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-8769
- https://github.com/aimhubio/aim
- https://github.com/aimhubio/aim/blob/bb76afe6e9a54364f322520cc4fea2679238f904/aim/sdk/lock_manager.py#L140
- https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7
- https://pypi.org/project/aim
- https://github.com/advisories/GHSA-4qcx-jx49-6qrh
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H- Weakness (CWE)
CWE-22, CWE-29- Platform
- Python (PyPI)
- Package
aim- Disclosed
- 20.03.2025
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-258 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-4qcx-jx49-6qrh - CC BY 4.0
Vulnerability history: aim
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 20
- First → latest
- 11.2021 07.2025
- Without a fix
- 19
- Exploited in attacks
- 0
Severity breakdown
- Critical 4
- High 9
- Medium 6
- Low 1
Disclosures per year
- 2021: 1
- 2022: 0
- 2023: 0
- 2024: 5
- 2025: 14
- 2026: 0
-
Aim path traversal in LockManager.release_locks this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.