{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "3.22.0"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "88ac143708fad8737094b74e9e5b25689d18f1a6"
            }
          ],
          "repo": "https://github.com/aimhubio/aim",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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.",
  "id": "CVE-2024-6851",
  "modified": "2026-03-10T21:52:25.275567904Z",
  "published": "2025-03-20T10:15:34.247Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://huntr.com/bounties/839703fb-23b7-4dc4-ae81-44cd4740d3f3"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}