HIGH7.5
PYSEC-2026-1090
Aim Path Traversal vulnerability
Details
In version 3.22.0 of aimhubio/aim, the LocalFileManager._cleanup function in the aim tracking server accepts a user-specified glob-pattern for deleting files. The function does not verify that the matched files are within the directory managed by LocalFileManager, allowing a maliciously crafted glob-pattern to lead to arbitrary file deletion.
Are you affected?
Enter the version of the package you're using.
Affected packages
PyPI/aim
Introduced in:
0No fixed version published yet for aim (pip). Pin to a known-safe version or switch to an alternative.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-6851[ADVISORY]
- https://github.com/aimhubio/aim[PACKAGE]
- https://github.com/aimhubio/aim/blob/88ac143708fad8737094b74e9e5b25689d18f1a6/aim/sdk/reporter/file_manager.py#L44[WEB]
- https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3[WEB]
- https://pypi.org/project/aim[PACKAGE]
- https://github.com/advisories/GHSA-mrvr-7493-pfq3[ADVISORY]