{
  "id": "CVE-2025-8406",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-8406",
  "published_at": "2025-10-05T09:00:36.838Z",
  "title": "Path Traversal in zenml-io/zenml",
  "vendor": "zenml-io",
  "product": "zenml-io/zenml",
  "cvss": {
    "score": 7.8,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "ZenML version 0.83.1 is affected by a path traversal vulnerability in the `PathMaterializer` class. The `load` function uses `is_path_within_directory` to validate files during `data.tar.gz` extraction, which fails to effectively detect symbolic and hard links. This vulnerability can lead to arbitrary file writes, potentially resulting in arbitrary command execution if critical files are overwritten.",
  "cwe": "CWE-22",
  "cpes": [
    "cpe:2.3:a:zenml:zenml:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.3,
    "nvd": 7.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "zenml-io",
        "product": "zenml-io/zenml",
        "ranges": [
          "\u003e= unspecified, \u003c 0.84.2"
        ],
        "fixed_in": [
          "0.84.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade zenml-io/zenml to 0.84.2 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/zenml-io/zenml/commit/5d22a48d7bf6c7f10b748577c2be79cc7969d398"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
