Skip to content
Heist/ feed
Back to feed
Critical

Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-6396
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 18:05 UTC · Revision 1

Source evidence

Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim

core-osv · Original source

Published 12 Jul 2024, 00:00 UTC

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.

osv:CVE-2024-6396
Complete source record
{
  "id": "825f8cdf3ad9af3fad1005ff3f1070ce2f0b98b53527c68ba4507479a899e253",
  "url": "https://osv.dev/vulnerability/CVE-2024-6396",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Arbitrary File Overwrite and Data Exfiltration in aimhubio/aim",
    "summary": "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.",
    "evidence": "osv:CVE-2024-6396",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2024-6396",
      "aliases": [
        "CVE-2024-6396"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/aimhubio/aim",
              "type": "GIT",
              "events": [
                {
                  "introduced": "17cdf0b8fc1120363cb646028e43140bdf0abba1"
                },
                {
                  "last_affected": "17cdf0b8fc1120363cb646028e43140bdf0abba1"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:aimstack:aim:3.19.3:*:*:*:*:python:*:*",
                    "range": [
                      {
                        "introduced": "3.19.3"
                      },
                      {
                        "last_affected": "3.19.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.19.3",
            "v3.19.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-6396.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:31.022693443Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/c1b17afd-4656-47bb-8310-686a9e1b04a0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6396.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-6396"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-29"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6396.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-6396",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 498214,
  "published_at": "2024-07-12T00:00:14.599+00:00"
}