{
  "threat_severity" : "Important",
  "public_date" : "2026-11-24T14:08:33Z",
  "bugzilla" : {
    "description" : "fastcore: fastcore through 2.2.44 Path Traversal via untar_dir Tar Extraction",
    "id" : "2583383",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2583383"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.1",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
    "status" : "draft"
  },
  "cwe" : "CWE-22",
  "details" : [ "fastcore through 2.2.44 contains a path traversal vulnerability in the fastcore.xtras.untar_dir() archive extraction helper that allows attackers who supply a crafted tar archive to write files outside the intended extraction directory. The internal _unpack() function passes the archive to shutil.unpack_archive() without a tar extraction filter, member path validation, or a containment check, so archive members with absolute paths or ../ traversal sequences are written to arbitrary locations writable by the application process when running on Python versions before 3.14. Applications that extract untrusted archives with untar_dir() can have application files, configuration, or importable code overwritten, which can lead to code execution, data modification, or denial of service.", "A flaw was found in fastcore. A path traversal vulnerability exists in the untar_dir() archive extraction utility, which unpacks archives without validating member file paths or enforcing directory boundaries. An attacker can exploit this flaw by supplying a crafted archive containing directory traversal sequences, causing files to be written outside the intended destination directory. This behavior allows an attacker to overwrite sensitive application files or executable code, potentially resulting in arbitrary code execution, unauthorized data modification, or a Denial of Service (DoS)." ],
  "statement" : "This vulnerability is rated as Important severity because unpacking a malicious archive enables arbitrary file overwrites with the privileges of the running process, which can lead to remote code execution if configuration files or executable assets are replaced. The risk is elevated beyond Moderate due to the high potential for system compromise, though it does not reach Critical severity because exploitation requires an application or user to actively consume untrusted archive inputs. In typical Red Hat environments, fastcore is not shipped as a core system component, limiting exposure to custom workloads or specialized third-party Python environments that invoke archive extraction utilities.",
  "package_state" : [ {
    "product_name" : "Red Hat OpenShift AI (RHOAI)",
    "fix_state" : "Affected",
    "package_name" : "rhoai/odh-automl-rhel9",
    "cpe" : "cpe:/a:redhat:openshift_ai"
  }, {
    "product_name" : "Red Hat OpenShift AI (RHOAI)",
    "fix_state" : "Affected",
    "package_name" : "rhoai/odh-kserve-autogluon-server-rhel9",
    "cpe" : "cpe:/a:redhat:openshift_ai"
  }, {
    "product_name" : "Red Hat OpenShift AI (RHOAI)",
    "fix_state" : "Affected",
    "package_name" : "rhoai/odh-kserve-storage-initializer-rhel9",
    "cpe" : "cpe:/a:redhat:openshift_ai"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2026-65320\nhttps://nvd.nist.gov/vuln/detail/CVE-2026-65320\nhttps://github.com/AnswerDotAI/fastcore/issues/974\nhttps://github.com/AnswerDotAI/fastcore/pull/973\nhttps://github.com/rahulreddykarne/CVE-2026-65320-fastcore\nhttps://www.vulncheck.com/advisories/fastcore-through-2.2.44-path-traversal-via-untar-dir-tar-extraction" ],
  "name" : "CVE-2026-65320",
  "mitigation" : {
    "value" : "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.",
    "lang" : "en:us"
  },
  "csaw" : false
}