Vulnerability in Aimhubio Aimhubio/aim

CVE-2024-6829

A vulnerability in aimhubio/aim version 3.19.3 allows an attacker to exploit the `tarfile.extractall()` function to extract the contents of a maliciously crafted tarfile to arbitrary locations on the host server. The attacker can control `repo.path` and `run_hash` to bypass directory existence checks and extract files to unintended locations, potentially overwriting critical files. This can lead to arbitrary data being written to arbitrary locations on the remote tracking server, which could be used for further attacks such as writing a new SSH key to the target server.

EPSS: 0.008 (53.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.1 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-6829?
CVE-2024-6829 is a critical-severity vulnerability in Aimhubio Aimhubio/aim, classified under External Control of File Name or Path. CVSS score: 9.1/10. Published 2025-03-20.
How severe is CVE-2024-6829?
Critical severity. CVSS v3 base score is 9.1 out of 10.