{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-6851","id":"CVE-2024-6851","title":"Arbitrary File Deletion in aimhubio/aim","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.","descriptionLong":"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","updated":"2026-10-28T02:30:58.227305645Z","reserved":"2024-07-17T19:49:43.589Z","status":"Analyzed","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"huntr.dev"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.0","score":7.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["aimhubio/aim"],"affectedProducts":[{"vendor":"aimhubio","product":"aimhubio/aim","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"aim","purl":"pkg:pypi/aim","ranges":["<=3.22.0"],"fixed":[],"advisory":"GHSA-mrvr-7493-pfq3"}],"cwes":["CWE-22"],"aliases":["GHSA-mrvr-7493-pfq3","PYSEC-2026-1090"],"references":[{"url":"https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3","tags":["Exploit","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6851.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6851","tags":["advisory"]},{"url":"https://github.com/aimhubio/aim","tags":["package"]},{"url":"https://github.com/aimhubio/aim/blob/88ac143708fad8737094b74e9e5b25689d18f1a6/aim/sdk/reporter/file_manager.py#L44","tags":["web"]},{"url":"https://pypi.org/project/aim","tags":["package"]},{"url":"https://github.com/advisories/GHSA-mrvr-7493-pfq3","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.0107,"epssPercentile":0.6556,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-6851","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6851","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-6851","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-mrvr-7493-pfq3","ok":true,"note":"GHSA-mrvr-7493-pfq3"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-6851","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}