CVE-2024-6829
CRITICAL 9.1CVSS 3.0Aim External Control of File Name or Path vulnerability
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.
- Published
- 20 Mar 2025
- Last modified
- 26 Oct 2026
- Assigned by
- security@huntr.dev
- NVD status
- Analyzed
- Weakness
- CWE-73
- Also known as
- GHSA-75px-35p4-qq6hPYSEC-2026-259
- Sources
- NVDJSONOSV GHSA-75px-35p4-qq6hJSONOSV PYSEC-2026-259JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@huntr.dev (Secondary) | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
| OSV | PyPA | CVSS 3.0 | CRITICAL 9.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | aimstack | aimcpe:2.3:a:aimstack:aim:3.19.3:*:*:*:*:python:*:* |
= 3.19.3 | |
| OSV | PyPI | aim | <= 3.19.3 |
References
- https://huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-6829 · ADVISORY
- https://github.com/aimhubio/aim · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-259.yaml · WEB
- https://pypi.org/project/aim · WEB, PACKAGE
- https://github.com/advisories/GHSA-75px-35p4-qq6h · ADVISORY
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Mar 2025)