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.
CVE ID: CVE-2024-6851
CVSS Base Severity: HIGH
CVSS Base Score: 7.5
CVSS Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor: aimhubio
Product: aimhubio/aim
EPSS Score: 0.16% (probability of being exploited)
EPSS Percentile: 38.41% (scored less or equal to compared to others)
EPSS Date: 2025-04-18 (when was this score calculated)