Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. aim
  4. ›
  5. CVE-2024-6829

CVE-2024-6829: Aim External Control of File Name or Path vulnerability

March 20, 2025 (updated October 26, 2026)

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

  • github.com/advisories/GHSA-75px-35p4-qq6h
  • github.com/pypa/advisory-database/tree/main/vulns/aim/PYSEC-2026-259.yaml
  • huntr.com/bounties/7c97065c-1b63-4982-82c1-8038be0ed570
  • nvd.nist.gov/vuln/detail/CVE-2024-6829
  • pypi.org/project/aim

Code Behaviors & Features

Detect and mitigate CVE-2024-6829 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 3.19.3

Solution

Unfortunately, there is no solution available yet.

Impact 9.1 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-73: External Control of File Name or Path

Source file

pypi/aim/CVE-2024-6829.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:03 +0000.