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

- Severity: Critical 9.1 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.92%, higher than 61% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:11:22.123Z
- Modified: 2026-10-26T21:15:03.699Z
- Also known as: GHSA-4qcx-jx49-6qrh, PYSEC-2026-258
- Weaknesses: CWE-22, CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## 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.

(As written by CVE List.)

## Affected

- aimhubio aimhubio/aim: from unspecified up to latest
- aim (PyPI): from 3.15.0 up to 3.27.0
- aimstack aim: before 3.24.0

## Every score

- @huntr_ai: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- GitHub: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`
- PyPA Advisory Database: CVSS:3.0 9.1 Critical `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H`

## References

- <https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-8769> (advisory)
- <https://github.com/aimhubio/aim> (package)
- <https://github.com/aimhubio/aim/blob/bb76afe6e9a54364f322520cc4fea2679238f904/aim/sdk/lock_manager.py#L140> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-258.yaml> (web)
- <https://pypi.org/project/aim> (package, web)
- <https://github.com/advisories/GHSA-4qcx-jx49-6qrh> (advisory)

## Sources

- CVE List: [CVE-2024-8769](https://www.cve.org/CVERecord?id=CVE-2024-8769), CVE Terms of Use, modified 2025-10-15
- GitHub Advisory Database: [GHSA-4qcx-jx49-6qrh](https://github.com/advisories/GHSA-4qcx-jx49-6qrh), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2024-8769](https://nvd.nist.gov/vuln/detail/CVE-2024-8769), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-258](https://osv.dev/vulnerability/PYSEC-2026-258), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2024-8769 · Whole record: https://cve.day/CVE-2024-8769.json · Rebuilt by cve.day 2026-11-25T22:58:52.400Z
