Description
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.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570
Scores
CVSS v3
9.1
EPSS
0.0075
EPSS Percentile
50.1%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-73
Status
published
Products (2)
aimstack/aim
3.19.3
pypi/aim
0PyPI
Published
Mar 20, 2025
Tracked Since
Feb 18, 2026