CVE-2024-6851: In version 3.22.0 of aimhubio/aim, the LocalFileManager._cleanup function in the aim tracking server accepts a
CVE-2024-6851 is a high-severity flaw (CVSS 7.5) affecting aim. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 35%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2025-03-20 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6851?
aim: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-6851 being exploited?
CVE-2024-6851 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6851 affect?
CVE-2024-6851 affects aim. Severity is high (CVSS 7.5). 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 mana
How urgent is CVE-2024-6851?
Priority 52/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2025-5321 MEDIUM 6.3 UPGRADE A vulnerability classified as critical was found in aimhubio aim up to 3.29.1
- CVE-2025-51464 HIGH 8.8 DOWNGRADE Cross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in v
- CVE-2025-51463 HIGH 7.0 DOWNGRADE Path Traversal in restore_run_backup() in AIM 3.28.0 allows remote attackers to write arbitrary files to the s
- CVE-2025-0190 HIGH 7.5 DOWNGRADE In version 3.25.0 of aimhubio/aim, a denial of service vulnerability exists
- CVE-2025-0189 HIGH 7.5 DOWNGRADE In version 3.25.0 of aimhubio/aim, the tracking server is vulnerable to a denial of service attack