GitHub Advisoryadvisory · PyPI

GHSA-75px-35p4-qq6h Aim External Control of File Name or Path vulnerability

CRITICAL Published 2025-03-20 Modified 2026-10-26 Official page ↗
Aliases
CVE-2024-6829
Ecosystem
PyPI
Packages
aim
Severity
Critical
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weaknesses
CWE-73
Reviewed
2025-03-21

Affected packages

• PyPI aim: <= 3.19.3 (no fix yet)

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.

Related

Alias · CVE (1)

  • CVE-2024-6829 A vulnerability in aimhubio/aim version 3.19.3 allows an attacker to exploit the `tarfile.extractall()` function to extract the contents of… vulnerability

Weakness · CWE (1)

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

References