PYSEC-2026-259
Aim External Control of File Name or Path vulnerability
Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
0No fixed version published yet for aim (pip). Pin to a known-safe version or switch to an alternative.