{"id":"CVE-2026-1462","aliases":["DEBIAN-CVE-2026-1462","GHSA-4f3f-g24h-fr8m","PYSEC-2026-2547","UBUNTU-CVE-2026-1462"],"summary":"Safe Mode Bypass in keras-team/keras","published_at":"2026-04-13T14:55:28.649Z","modified_at":"2026-11-11T09:39:23.136179Z","products":[],"rating":{"severity":"high","score":8.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Ubuntu","rating":"medium"},{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.00419999985024333,"percentile":0.3702700138092041,"date":"2026-11-19T00:00:00Z"},"priority":10.3,"details":"A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"keras-team/keras-team/keras","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.2"}]}],"fixed":["3.13.2"],"provider":"cvelistv5","source":"CVE-2026-1462","relation":"self"},{"ecosystem":"Debian:11","package":"keras","purl":"pkg:deb/debian/keras?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1+dfsg-3","2.3.1+dfsg2-1"],"provider":"osv","source":"DEBIAN-CVE-2026-1462","relation":"self"},{"ecosystem":"NVD","package":"keras:keras","versions":["3.13.0"],"provider":"nvd","source":"CVE-2026-1462","relation":"self"},{"ecosystem":"NVD","package":"redhat:openshift_ai","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.25"},{"fixed":"2.25.7"}]}],"fixed":["2.25.7"],"provider":"nvd","source":"CVE-2026-1462","relation":"self"},{"ecosystem":"PyPI","package":"keras","purl":"pkg:pypi/keras","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.2"}]}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.10.0","2.10.0rc0","2.10.0rc1","2.11.0","2.11.0rc0","2.11.0rc1","2.11.0rc2","2.11.0rc3","2.12.0","2.12.0rc0","2.12.0rc1","2.13.1","2.13.1rc0","2.13.1rc1","2.14.0","2.14.0rc0","2.15.0","2.15.0rc0","2.15.0rc1","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.5.0rc0","2.6.0","2.6.0rc0","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.7.0","2.7.0rc0","2.7.0rc2","2.8.0","2.8.0rc0","2.8.0rc1","2.9.0","2.9.0rc0","2.9.0rc1","2.9.0rc2","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.12.0","3.12.1","3.12.2","3.12.3","3.12.4","3.13.0","3.13.1","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2"],"fixed":["3.13.2"],"provider":"osv","source":"GHSA-4f3f-g24h-fr8m","relation":"self"},{"ecosystem":"PyPI","package":"keras","purl":"pkg:pypi/keras","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.2"}]}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.10.0","2.10.0rc0","2.10.0rc1","2.11.0","2.11.0rc0","2.11.0rc1","2.11.0rc2","2.11.0rc3","2.12.0","2.12.0rc0","2.12.0rc1","2.13.1","2.13.1rc0","2.13.1rc1","2.14.0","2.14.0rc0","2.15.0","2.15.0rc0","2.15.0rc1","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.5.0rc0","2.6.0","2.6.0rc0","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.7.0","2.7.0rc0","2.7.0rc2","2.8.0","2.8.0rc0","2.8.0rc1","2.9.0","2.9.0rc0","2.9.0rc1","2.9.0rc2","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.12.0","3.12.1","3.12.2","3.12.3","3.13.0","3.13.1","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2"],"fixed":["3.13.2"],"provider":"osv","source":"PYSEC-2026-2547","relation":"self"},{"ecosystem":"Ubuntu:18.04:LTS","package":"keras","purl":"pkg:deb/ubuntu/keras?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7-2","2.1.1-1"],"provider":"osv","source":"UBUNTU-CVE-2026-1462","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"keras","purl":"pkg:deb/ubuntu/keras?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4-1"],"provider":"osv","source":"UBUNTU-CVE-2026-1462","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-modelmesh-runtime-adapter-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-storage-initializer-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-modelmesh-runtime-adapter-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:24977"],"provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/odh-built-in-detector-rhel9","rhoai/odh-caikit-nlp-rhel9","rhoai/odh-caikit-tgis-serving-rhel9","rhoai/odh-codeflare-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-kueue-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-inference-scheduler-rhel9","rhoai/odh-llm-d-routing-sidecar-rhel9","rhoai/odh-ml-pipelines-api-server-v2-rhel9","rhoai/odh-ml-pipelines-driver-rhel9"],"package_count":76,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"fixed","packages":["rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9"],"package_count":4,"fixed":[],"advisories":["RHSA-2026:37275"],"provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"not_affected","packages":["rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kube-auth-proxy-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-inference-scheduler-rhel9","rhoai/odh-llm-d-routing-sidecar-rhel9","rhoai/odh-maas-api-rhel9","rhoai/odh-ml-pipelines-api-server-v2-rhel9","rhoai/odh-ml-pipelines-driver-rhel9","rhoai/odh-ml-pipelines-launcher-rhel9"],"package_count":79,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-1462"}],"records":[{"provider":"cvelistv5","source_id":"CVE-2026-1462","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-1462","license":"CC-BY-4.0","published_at":"2026-04-13T14:55:28.649Z","modified_at":"2026-07-15T01:21:47.957Z","summary":"Safe Mode Bypass in keras-team/keras","details":"A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-1462"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"redhat-SADP:CVE-2026-1462"}],"affected":[{"ecosystem":"CVE","package":"keras-team/keras-team/keras","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.2"}]}],"fixed":["3.13.2"],"provider":"cvelistv5","source":"CVE-2026-1462","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"}]},{"provider":"nvd","source_id":"CVE-2026-1462","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1462","severity":[],"affected":[{"ecosystem":"NVD","package":"keras:keras","versions":["3.13.0"],"provider":"nvd","source":"CVE-2026-1462","relation":"self"},{"ecosystem":"NVD","package":"redhat:openshift_ai","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.25"},{"fixed":"2.25.7"}]}],"fixed":["2.25.7"],"provider":"nvd","source":"CVE-2026-1462","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"DEBIAN-CVE-2026-1462","relation":"self","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-1462","published_at":"2026-04-13T15:17:18.967Z","modified_at":"2026-08-27T23:05:51.825129Z","details":"A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"DEBIAN-CVE-2026-1462"}],"affected":[{"ecosystem":"Debian:11","package":"keras","purl":"pkg:deb/debian/keras?arch=source&distro=bullseye","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.3.1+dfsg-3","2.3.1+dfsg2-1"],"provider":"osv","source":"DEBIAN-CVE-2026-1462","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-1462"}]},{"provider":"osv","source_id":"GHSA-4f3f-g24h-fr8m","relation":"self","url":"https://osv.dev/vulnerability/GHSA-4f3f-g24h-fr8m","license":"CC-BY-4.0","published_at":"2026-04-13T15:31:42Z","modified_at":"2026-09-10T03:51:00.954524Z","summary":"Keras has an untrusted deserialization vulnerability","details":"A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"GHSA-4f3f-g24h-fr8m"}],"affected":[{"ecosystem":"PyPI","package":"keras","purl":"pkg:pypi/keras","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.2"}]}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.10.0","2.10.0rc0","2.10.0rc1","2.11.0","2.11.0rc0","2.11.0rc1","2.11.0rc2","2.11.0rc3","2.12.0","2.12.0rc0","2.12.0rc1","2.13.1","2.13.1rc0","2.13.1rc1","2.14.0","2.14.0rc0","2.15.0","2.15.0rc0","2.15.0rc1","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.5.0rc0","2.6.0","2.6.0rc0","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.7.0","2.7.0rc0","2.7.0rc2","2.8.0","2.8.0rc0","2.8.0rc1","2.9.0","2.9.0rc0","2.9.0rc1","2.9.0rc2","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.12.0","3.12.1","3.12.2","3.12.3","3.12.4","3.13.0","3.13.1","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2"],"fixed":["3.13.2"],"provider":"osv","source":"GHSA-4f3f-g24h-fr8m","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1462"},{"type":"WEB","url":"https://github.com/keras-team/keras/pull/22035"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"},{"type":"PACKAGE","url":"https://github.com/keras-team/keras"},{"type":"WEB","url":"https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"}]},{"provider":"osv","source_id":"PYSEC-2026-2547","relation":"self","url":"https://osv.dev/vulnerability/PYSEC-2026-2547","license":"CC-BY-4.0","published_at":"2026-07-13T15:02:47.434341Z","modified_at":"2026-07-13T16:32:00.924214Z","summary":"Keras has an untrusted deserialization vulnerability","details":"A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"PYSEC-2026-2547"}],"affected":[{"ecosystem":"PyPI","package":"keras","purl":"pkg:pypi/keras","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.13.2"}]}],"versions":["0.2.0","0.3.0","0.3.1","0.3.2","0.3.3","1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.1.0","1.1.1","1.1.2","1.2.0","1.2.1","1.2.2","2.0.0","2.0.1","2.0.2","2.0.3","2.0.4","2.0.5","2.0.6","2.0.7","2.0.8","2.0.9","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6","2.10.0","2.10.0rc0","2.10.0rc1","2.11.0","2.11.0rc0","2.11.0rc1","2.11.0rc2","2.11.0rc3","2.12.0","2.12.0rc0","2.12.0rc1","2.13.1","2.13.1rc0","2.13.1rc1","2.14.0","2.14.0rc0","2.15.0","2.15.0rc0","2.15.0rc1","2.2.0","2.2.1","2.2.2","2.2.3","2.2.4","2.2.5","2.3.0","2.3.1","2.4.0","2.4.1","2.4.2","2.4.3","2.5.0rc0","2.6.0","2.6.0rc0","2.6.0rc1","2.6.0rc2","2.6.0rc3","2.7.0","2.7.0rc0","2.7.0rc2","2.8.0","2.8.0rc0","2.8.0rc1","2.9.0","2.9.0rc0","2.9.0rc1","2.9.0rc2","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.1.0","3.1.1","3.10.0","3.11.0","3.11.1","3.11.2","3.11.3","3.12.0","3.12.1","3.12.2","3.12.3","3.13.0","3.13.1","3.2.0","3.2.1","3.3.0","3.3.1","3.3.2","3.3.3","3.4.0","3.4.1","3.5.0","3.6.0","3.7.0","3.8.0","3.9.0","3.9.1","3.9.2"],"fixed":["3.13.2"],"provider":"osv","source":"PYSEC-2026-2547","relation":"self"}],"product_status":[],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1462"},{"type":"WEB","url":"https://github.com/keras-team/keras/pull/22035"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"},{"type":"PACKAGE","url":"https://github.com/keras-team/keras"},{"type":"WEB","url":"https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"},{"type":"PACKAGE","url":"https://pypi.org/project/keras"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4f3f-g24h-fr8m"}]},{"provider":"osv","source_id":"UBUNTU-CVE-2026-1462","relation":"self","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-1462","license":"CC-BY-SA-4.0","published_at":"2026-04-13T15:17:00Z","modified_at":"2026-11-11T09:39:23.136179Z","withdrawn_at":"2026-11-10T05:54:50Z","details":"A vulnerability in the `TFSMLayer` class of the `keras` package, version 3.13.0, allows attacker-controlled TensorFlow SavedModels to be loaded during deserialization of `.keras` models, even when `safe_mode=True`. This bypasses the security guarantees of `safe_mode` and enables arbitrary attacker-controlled code execution during model inference under the victim's privileges. The issue arises due to the unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and the lack of validation in the `from_config()` method.","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2026-1462"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"UBUNTU-CVE-2026-1462"},{"type":"Ubuntu","score":"medium","source":"UBUNTU-CVE-2026-1462"}],"affected":[{"ecosystem":"Ubuntu:18.04:LTS","package":"keras","purl":"pkg:deb/ubuntu/keras?arch=source&distro=bionic","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.0.7-2","2.1.1-1"],"provider":"osv","source":"UBUNTU-CVE-2026-1462","relation":"self"},{"ecosystem":"Ubuntu:20.04:LTS","package":"keras","purl":"pkg:deb/ubuntu/keras?arch=source&distro=focal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.4-1"],"provider":"osv","source":"UBUNTU-CVE-2026-1462","relation":"self"}],"product_status":[],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-1462"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-1462"},{"type":"REPORT","url":"https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"},{"type":"REPORT","url":"https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"}]},{"provider":"redhat-vex","source_id":"CVE-2026-1462","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-1462","license":"CC-BY-4.0","published_at":"2026-04-13T14:55:28.649Z","modified_at":"2026-04-13T19:57:06.620122Z","summary":"keras: Keras: Arbitrary Code Execution Vulnerability Bypassing Safe Mode","details":"A flaw was found in the `keras` package. This vulnerability allows an attacker to execute unauthorized code on a victim's system. It occurs when a victim loads a specially crafted `.keras` model, even if the `safe_mode` security feature is active. The issue arises because the `keras` package can unconditionally load external TensorFlow SavedModels without sufficient validation, thereby bypassing the intended security protections and leading to arbitrary code execution.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CVE-2026-1462"},{"type":"Red Hat","score":"Important","source":"CVE-2026-1462"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"affected","packages":["rhoai/odh-modelmesh-runtime-adapter-rhel8"],"package_count":1,"fixed":[],"advisories":[],"note":"Affected","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9"],"package_count":3,"fixed":[],"advisories":[],"note":"vulnerable_code_not_in_execute_path","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI (RHOAI)","cpe":"cpe:/a:redhat:openshift_ai","status":"not_affected","packages":["rhoai/odh-kserve-storage-initializer-rhel9"],"package_count":1,"fixed":[],"advisories":[],"note":"component_not_present","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"fixed","packages":["rhoai/odh-modelmesh-runtime-adapter-rhel9"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:24977"],"provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 2.25","cpe":"cpe:/a:redhat:openshift_ai:2.25::el9","status":"not_affected","packages":["rhoai/odh-built-in-detector-rhel9","rhoai/odh-caikit-nlp-rhel9","rhoai/odh-caikit-tgis-serving-rhel9","rhoai/odh-codeflare-operator-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-kueue-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-inference-scheduler-rhel9","rhoai/odh-llm-d-routing-sidecar-rhel9","rhoai/odh-ml-pipelines-api-server-v2-rhel9","rhoai/odh-ml-pipelines-driver-rhel9"],"package_count":76,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"fixed","packages":["rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9","rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9","rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9"],"package_count":4,"fixed":[],"advisories":["RHSA-2026:37275"],"provider":"redhat-vex","source":"CVE-2026-1462"},{"vendor":"Red Hat","product":"Red Hat OpenShift AI 3.3","cpe":"cpe:/a:redhat:openshift_ai:3.3::el9","status":"not_affected","packages":["rhoai/odh-built-in-detector-rhel9","rhoai/odh-cli-rhel9","rhoai/odh-dashboard-rhel9","rhoai/odh-data-science-pipelines-argo-argoexec-rhel9","rhoai/odh-data-science-pipelines-argo-workflowcontroller-rhel9","rhoai/odh-data-science-pipelines-operator-controller-rhel9","rhoai/odh-feast-operator-rhel9","rhoai/odh-feature-server-rhel9","rhoai/odh-fms-guardrails-orchestrator-rhel9","rhoai/odh-guardrails-detector-huggingface-runtime-rhel9","rhoai/odh-kf-notebook-controller-rhel9","rhoai/odh-kserve-agent-rhel9","rhoai/odh-kserve-controller-rhel9","rhoai/odh-kserve-router-rhel9","rhoai/odh-kserve-storage-initializer-rhel9","rhoai/odh-kube-auth-proxy-rhel9","rhoai/odh-kuberay-operator-controller-rhel9","rhoai/odh-llama-stack-core-rhel9","rhoai/odh-llama-stack-k8s-operator-rhel9","rhoai/odh-llm-d-inference-scheduler-rhel9","rhoai/odh-llm-d-routing-sidecar-rhel9","rhoai/odh-maas-api-rhel9","rhoai/odh-ml-pipelines-api-server-v2-rhel9","rhoai/odh-ml-pipelines-driver-rhel9","rhoai/odh-ml-pipelines-launcher-rhel9"],"package_count":79,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-1462"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-1462"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457856"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-1462"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1462"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"},{"type":"WEB","url":"https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"}]}],"references":[{"type":"WEB","url":"https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"},{"type":"WEB","url":"https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"},{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2026-1462"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1462"},{"type":"WEB","url":"https://github.com/keras-team/keras/pull/22035"},{"type":"PACKAGE","url":"https://github.com/keras-team/keras"},{"type":"PACKAGE","url":"https://pypi.org/project/keras"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-4f3f-g24h-fr8m"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-1462"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-1462"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-1462"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2457856"}],"sources":[{"provider":"cvelistv5","source_id":"CVE-2026-1462","url":"https://www.cve.org/CVERecord?id=CVE-2026-1462","license":"CC-BY-4.0","modified_at":"2026-07-15T01:21:47.957Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-1462","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-1462","relation":"self"},{"provider":"osv","source_id":"DEBIAN-CVE-2026-1462","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2026-1462","modified_at":"2026-08-27T23:05:51.825129Z","relation":"self"},{"provider":"osv","source_id":"GHSA-4f3f-g24h-fr8m","url":"https://osv.dev/vulnerability/GHSA-4f3f-g24h-fr8m","license":"CC-BY-4.0","modified_at":"2026-09-10T03:51:00.954524Z","relation":"self"},{"provider":"osv","source_id":"PYSEC-2026-2547","url":"https://osv.dev/vulnerability/PYSEC-2026-2547","license":"CC-BY-4.0","modified_at":"2026-07-13T16:32:00.924214Z","relation":"self"},{"provider":"osv","source_id":"UBUNTU-CVE-2026-1462","url":"https://osv.dev/vulnerability/UBUNTU-CVE-2026-1462","license":"CC-BY-SA-4.0","modified_at":"2026-11-11T09:39:23.136179Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-1462","url":"https://access.redhat.com/security/cve/CVE-2026-1462","license":"CC-BY-4.0","modified_at":"2026-04-13T19:57:06.620122Z","relation":"self"}]}
