{
  "threat_severity" : "Important",
  "public_date" : "2025-10-30T17:10:43Z",
  "bugzilla" : {
    "description" : "keras: Keras Path Traversal Vulnerability",
    "id" : "2407443",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2407443"
  },
  "cvss3" : {
    "cvss3_base_score" : "8.3",
    "cvss3_scoring_vector" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L",
    "status" : "verified"
  },
  "cwe" : "CWE-22",
  "details" : [ "The keras.utils.get_file API in Keras, when used with the extract=True option for tar archives, is vulnerable to a path traversal attack. The utility uses Python's tarfile.extractall function without the filter=\"data\" feature. A remote attacker can craft a malicious tar archive containing special symlinks, which, when extracted, allows them to write arbitrary files to any location on the filesystem outside of the intended destination folder. This vulnerability is linked to the underlying Python tarfile weakness, identified as CVE-2025-4517. Note that upgrading Python to one of the versions that fix CVE-2025-4517 (e.g. Python 3.13.4) is not enough. One additionally needs to upgrade Keras to a version with the fix (Keras 3.12).", "A path traversal flaw has been discovered in the keras Python library. when used with the extract=True option for tar archives, is vulnerable to a path traversal attack. The utility uses Python's tarfile.extractall function without the filter=\"data\" feature. A remote attacker can craft a malicious tar archive containing special symlinks, which, when extracted, allows them to write arbitrary files to any location on the filesystem outside of the intended destination folder." ],
  "affected_release" : [ {
    "product_name" : "Red Hat OpenShift AI 2.16",
    "release_date" : "2026-03-25T00:00:00Z",
    "advisory" : "RHSA-2026:5807",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.16::el8",
    "package" : "rhoai/odh-modelmesh-runtime-adapter-rhel8:sha256:a291cd5f04c559fd16477ae2ad364a350c4bf0c5a3f5aa2e614260fd4a5bece2"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.22",
    "release_date" : "2025-12-04T00:00:00Z",
    "advisory" : "RHSA-2025:22759",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.22::el9",
    "package" : "rhoai/odh-modelmesh-runtime-adapter-rhel9:sha256:1dd295d8062d8846ffb2534b2597e2791bd67387904b3d4ccf58cf3424d3250b"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-kserve-agent-rhel9:sha256:5a0d462e652464ae21e9152b6eac7d95c05d9d3d6884a3f1590c6194bda64ae7"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-kserve-controller-rhel9:sha256:1148f10bdd5624ec3ec6e2099eaadf0192bbd4a7cb5758e71b20d811354204da"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-kserve-router-rhel9:sha256:605f8418c5c32d9a0936b4563a79fca6eeaef3bba7ca1b6abb91b0b1e84e4dd3"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-kserve-storage-initializer-rhel9:sha256:83e3b3a60fc284de9efd3dcf90cf5f744dd24cbc0a27d0d964676d93c8637750"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-modelmesh-runtime-adapter-rhel9:sha256:4c4960f59045736201fef76a709ea63432f3dfc006a1e036b9a36731474552fa"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9:sha256:1931d2ff282436ab32f8cb4bee1cfa6d5484fd9d62273be4ec3ae5c1f7f9dcb2"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9:sha256:2f49b2e93ebc766c86404027e25bc433c4a093494c02f18b7c038bda85525cf0"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9:sha256:227ef502cc266d18541445091e618df4c25430e50698ab02c519f32bef38b0b1"
  }, {
    "product_name" : "Red Hat OpenShift AI 2.25",
    "release_date" : "2025-12-17T00:00:00Z",
    "advisory" : "RHSA-2025:23531",
    "cpe" : "cpe:/a:redhat:openshift_ai:2.25::el9",
    "package" : "rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9:sha256:1ecfb6fd3f5f223ff60e90e9ed45d393447f95de6b91451c1614bc69e042ec95"
  } ],
  "package_state" : [ {
    "product_name" : "Red Hat Ansible Automation Platform 2",
    "fix_state" : "Not affected",
    "package_name" : "ansible-automation-platform-26/lightspeed-chatbot-rhel9",
    "cpe" : "cpe:/a:redhat:ansible_automation_platform:2"
  }, {
    "product_name" : "Red Hat Trusted Artifact Signer",
    "fix_state" : "Not affected",
    "package_name" : "rhtas/model-transparency-rhel9",
    "cpe" : "cpe:/a:redhat:trusted_artifact_signer:1"
  } ],
  "references" : [ "https://www.cve.org/CVERecord?id=CVE-2025-12060\nhttps://nvd.nist.gov/vuln/detail/CVE-2025-12060\nhttps://github.com/keras-team/keras/pull/21760\nhttps://github.com/keras-team/keras/security/advisories/GHSA-hjqc-jx6g-rwp9" ],
  "name" : "CVE-2025-12060",
  "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
}