7.5high
Arbitrary File Deletion in aimhubio/aim
- Severity
- 7.5high CVSS:3.0 by @huntr_ai
- Exploit likelihood
- 1.07% (higher than 65% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- @huntr_ai
- Also known as
- GHSA-mrvr-7493-pfq3PYSEC-2026-1090
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| aimhubio aimhubio/aim | from unspecified up to latest | CVE List |
| aim (PyPI) | up to 3.22.0 | GitHub Advisory Database, PyPA Advisory Database |
| aimstack aim | 3.22.0 | NVD |
All scores
| @huntr_ai | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| PyPA Advisory Database | 7.5high CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
En la versión 3.22.0 de aimhubio/aim, la función LocalFileManager._cleanup del servidor de seguimiento de AIM acepta un patrón glob especificado por el usuario para eliminar archivos. Esta función no verifica que los archivos coincidentes se encuentren en el directorio administrado por LocalFileManager, lo que permite que un patrón glob manipulado con fines maliciosos provoque la eliminación arbitraria de archivos.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-6851 changed 2025-03-20 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-mrvr-7493-pfq3 changed 2026-07-07 | CC-BY-4.0 |
| NVD | CVE-2024-6851 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-1090 changed 2026-07-07 | CC-BY-4.0 |