{"id":"CVE-2024-6851","aliases":["GHSA-mrvr-7493-pfq3","PYSEC-2026-1090"],"url":"https://o3.security/vulnerability/CVE-2024-6851","summary":"Arbitrary File Deletion in aimhubio/aim","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.","published":"2025-03-20T10:09:55.149Z","modified":"2026-08-12T03:51:46.092452073Z","cvss":{"score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"PyPI","name":"aim","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6851.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6851"},{"type":"PACKAGE","url":"https://github.com/aimhubio/aim"},{"type":"WEB","url":"https://github.com/aimhubio/aim/blob/88ac143708fad8737094b74e9e5b25689d18f1a6/aim/sdk/reporter/file_manager.py#L44"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:46.092452073Z"}}