CVE-2024-6829GHSA-75px-35p4-qq6hPYSEC-2026-259
Aim External Control of File Name or Path vulnerability
aimhubio aimpipLibraries & packages
CVSS
9.1CriticalExploitationPublic exploit codeCISA's assessment says proof of concept code is public, assessed 20 Mar 2025. Not in the KEV catalogCISA via CVE List
Exploit odds (EPSS)0.88%Chance of exploitation activity in the next 30 days, higher than 58% of CVEs. Scored 26 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
What fixes it
No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.
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.
Text from CVE List
Affected versions 53
- aim, pip<= 3.19.3GitHub
- aimhubio/aimaffected: unspecified through latestCVE List
- aim, PyPIfrom first release, through 3.19.3OSV
- aim, PyPI2.0.19OSV
- aim, PyPI2.0.20OSV
- aim, PyPI2.0.21OSV
- aim, PyPI2.0.22OSV
- aim, PyPI2.0.23OSV
- aim, PyPI2.0.24OSV
- aim, PyPI2.0.25OSV
- aim, PyPI2.0.26OSV
- aim, PyPI2.0.27OSV
- aim, PyPI2.1.0OSV
- aim, PyPI2.1.1OSV
- aim, PyPI2.1.2OSV
- aim, PyPI2.1.3OSV
- aim, PyPI2.1.4OSV
- aim, PyPI2.1.5OSV
- aim, PyPI2.1.6OSV
- aim, PyPI2.2.0OSV
- aim, PyPI2.2.1OSV
- aim, PyPI2.3.0OSV
- aim, PyPI2.4.0OSV
- aim, PyPI2.5.0OSV
- aim, PyPI2.6.0OSV
- aim, PyPI2.7.0OSV
- aim, PyPI2.7.1OSV
- aim, PyPI2.7.2OSV
- aim, PyPI2.7.3OSV
- aim, PyPI2.7.4OSV
- aim, PyPI3.0.0OSV
- aim, PyPI3.0.1OSV
- aim, PyPI3.0.2OSV
- aim, PyPI3.0.3OSV
- aim, PyPI3.0.4OSV
- aim, PyPI3.0.5OSV
- aim, PyPI3.0.6OSV
- aim, PyPI3.0.7OSV
- aim, PyPI3.1.0OSV
- aim, PyPI3.1.1OSV
- aim, PyPI3.10.0OSV
- aim, PyPI3.10.0.dev9OSV
- aim, PyPI3.10.1OSV
- aim, PyPI3.10.2OSV
- aim, PyPI3.10.3OSV
- aim, PyPI3.11.0OSV
- aim, PyPI3.11.0.dev4OSV
- aim, PyPI3.11.1OSV
- aim, PyPI3.11.1.dev1OSV
- aim, PyPI3.11.2OSV
- aim, PyPI3.12.0OSV
- aim, PyPI3.12.0.dev2OSV
- aim, PyPI3.12.1OSV
References 5
- github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-259.yamlAdvisoryvia GitHub
- github.com/advisories/GHSA-75px-35p4-qq6hAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2024-6829Referencevia GitHub
- huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570Referencevia CVE List
- pypi.org/project/aimReferencevia GitHub