---
id: CVE-2024-6851
aliases:
  - GHSA-mrvr-7493-pfq3
  - PYSEC-2026-1090
title: Aim Path Traversal vulnerability
summary: Aim Path Traversal vulnerability
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
vendor: aim
product: aim
ecosystem: pip
affected:
  - aim <= 3.22.0
published: '2025-03-20'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-mrvr-7493-pfq3'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-6851'
  - url: 'https://github.com/aimhubio/aim'
  - url: >-
      https://github.com/aimhubio/aim/blob/88ac143708fad8737094b74e9e5b25689d18f1a6/aim/sdk/reporter/file_manager.py#L44
  - url: 'https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3'
tags:
  - osv
  - pip
epss: 0.01049
epssPercentile: 0.62717
ingestedAt: '2026-07-08T18:25:51.437Z'
---

## Overview

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 packages

- `aim <= 3.22.0`

## Remediation

Refer to the advisory for the patched release.
