# CVE-2024-6396: Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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): 53.1%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-07-12T00:00:14.599Z
- Modified: 2026-06-17T08:17:55.993Z
- Weaknesses: CWE-29
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

A vulnerability in the `_backup_run` function in aimhubio/aim version 3.19.3 allows remote attackers to overwrite any file on the host server and exfiltrate arbitrary data. The vulnerability arises due to improper handling of the `run_hash` and `repo.path` parameters, which can be manipulated to create and write to arbitrary file paths. This can lead to denial of service by overwriting critical system files, loss of private data, and potential remote code execution.

(As written by CVE List.)

## Affected

- aimhubio aimhubio/aim: from unspecified up to latest
- aimhubio aim: 3.19.3
- aimstack aim: 3.19.3

## References

- <https://huntr.com/bounties/c1b17afd-4656-47bb-8310-686a9e1b04a0> (exploit, third-party-advisory)

## Sources

- CVE List: [CVE-2024-6396](https://www.cve.org/CVERecord?id=CVE-2024-6396), CVE Terms of Use, modified 2024-08-01
- NVD: [CVE-2024-6396](https://nvd.nist.gov/vuln/detail/CVE-2024-6396), Public domain, modified 2026-06-17

---

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