Description
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.
References (1)
Core 1
Core References
Exploit, Third Party Advisory
https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3
Scores
CVSS v3
7.5
EPSS
0.0124
EPSS Percentile
79.5%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-22
Status
published
Products (2)
aimstack/aim
3.22.0
pypi/aim
0PyPI
Published
Mar 20, 2025
Tracked Since
Feb 18, 2026