← Vulnerability feed

Vulnerability record · CVE-2024-6396 · published 12 July 2024

CVE-2024-6396: Aim _backup_run path traversal allows arbitrary file overwrite

Aimstack · Aim

Aim 3.19.3 mishandles the run_hash and repo.path parameters in the _backup_run function, letting a remote attacker build arbitrary file paths and write to them. This permits overwriting any file on the host, which can destroy data, expose private data, or lead to remote code execution.

9.8 CVSS 3.0 Critical EPSS 53% · top 1.1% CWE-29 · CWE-29
9.8CVSS 3.0 base score
53%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
2References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

A vulnerability in the `_backup_run` function in aimhubio/aim version 3.19.3 allows remote attackers to overwrite any file on the host server and exfiltrate arbitrary data. The vulnerability arises due to improper handling of the `run_hash` and `repo.path` parameters, which can be manipulated to create and write to arbitrary file paths. This can lead to denial of service by overwriting critical system files, loss of private data, and potential remote code execution.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityCVSS 9.8 with no authentication or interaction required, high EPSS, and public exploit references make this an urgent remote file overwrite risk.

What it is

Aim 3.19.3 mishandles the run_hash and repo.path parameters in the _backup_run function, letting a remote attacker build arbitrary file paths and write to them. This permits overwriting any file on the host, which can destroy data, expose private data, or lead to remote code execution.

Impact

An unauthenticated remote attacker can overwrite arbitrary files on the Aim host, causing denial of service, exfiltration of arbitrary data, and potentially remote code execution.

Attack surface

Reachable over the network through the Aim service handling backup runs; the CVSS vector shows no privileges or user interaction required (AV:N/AC:L/PR:N/UI:N).

Exploitation

Not listed in CISA KEV, but EPSS is 0.53113 (98.9th percentile) and the only references are tagged Exploit, indicating public exploit material exists.

What to do

  • Upgrade Aim to a version that fixes the _backup_run path handling; if no fixed release is available, restrict or disable the backup run feature.
  • Validate and canonicalize run_hash and repo.path, rejecting traversal sequences and absolute paths before any file write.
  • Run Aim with least privilege and confine its write access to a dedicated data directory, not system paths.
  • Place Aim behind authentication and network controls so it is not exposed to untrusted clients.

Detection

  • Monitor Aim process file writes for paths outside its expected data directory, especially overwrites of system or configuration files.
  • Alert on backup run requests containing traversal sequences or absolute paths in run_hash or repo.path.
  • Watch for unexpected file modification or deletion events on hosts running Aim, correlated with Aim network activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2024-6396 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2024-2195Aimstack aim code injection vulnerabilityA critical Remote Code Execution (RCE) vulnerability was identified in the aimhubio/aim project, specifically within the `/api/runs/search/run/` endp…EPSS 1.8%9.6CVE-2024-7760Aimstack aim cross-site request forgery vulnerabilityaimhubio/aim version 3.22.0 contains a Cross-Site Request Forgery (CSRF) vulnerability in the tracking server. The vulnerability is due to overly per…EPSS 0.52%9.1CVE-2024-8769Aimstack aim path traversal vulnerabilityA vulnerability in the `LockManager.release_locks` function in aimhubio/aim (commit bb76afe) allows for arbitrary file deletion through relative path…EPSS 0.91%9.1CVE-2024-6829Aimstack aim vulnerabilityA vulnerability in aimhubio/aim version 3.19.3 allows an attacker to exploit the `tarfile.extractall()` function to extract the contents of a malicio…EPSS 0.87%8.8CVE-2025-51464Aimstack aim cross-site scripting vulnerabilityCross-site Scripting (XSS) in aimhubio Aim 3.28.0 allows remote attackers to execute arbitrary JavaScript in victims browsers via malicious Python co…EPSS 0.61%8.8CVE-2024-2196Aimstack aim cross-site request forgery vulnerabilityaimhubio/aim is vulnerable to Cross-Site Request Forgery (CSRF), allowing attackers to perform actions such as deleting runs, updating data, and stea…EPSS 0.59%8.6CVE-2021-43775Aimstack aim path traversal vulnerabilityAim is an open-source, self-hosted machine learning experiment tracking tool. Versions of Aim prior to 3.1.0 are vulnerable to a path traversal attac…EPSS 1.9%8.1CVE-2024-8238Aimstack aim vulnerabilityIn version 3.22.0 of aimhubio/aim, the AimQL query language uses an outdated version of the safer_getattr() function from RestrictedPython. This vers…EPSS 0.77%

Source: NIST National Vulnerability Database (record CVE-2024-6396), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.