{"id":"CVE-2024-6851","published":"2025-03-20T10:09:55Z","modified":"2025-03-20T18:32:59Z","title":"Arbitrary File Deletion in aimhubio/aim","vendor":"aimhubio","product":"aimhubio/aim","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0107,"percentile":0.65667,"provenance":"source"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3","tags":[]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":13.13},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"aimhubio","affectedVersions":[{"vendor":"aimhubio","product":"aimhubio/aim","versions":[">= unspecified, <= latest"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-20T17:52:40.343225Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"aim","vulnerableRanges":["<=3.22.0"],"patched":[],"from":["GHSA-mrvr-7493-pfq3","PYSEC-2026-1090"],"provenance":"source"}],"euvd":{"id":"EUVD-2025-6963","exploited":false,"provenance":"source"}}