Advisory

GHSA-75px-35p4-qq6h

Also known as: CVE-2024-6829, PYSEC-2026-259

Summary

Aim External Control of File Name or Path vulnerability

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2025-03-20 12:32 UTC
Modified
2026-10-26 21:30 UTC

Affected packages and fixes

aim

PyPI · All systems

Affected

  • introduced 0, last affected 3.19.3 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences