CVE-2026-1462
published high CVSS 3.0 · 8.8Safe Mode Bypass in keras-team/keras
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| keras-team | — | keras-team/kerasunspecified to < 3.13.2 | Affected | Not stated | @huntr_ai |
| Red Hat | — | rhoai/odh-modelmesh-runtime-adapter-rhel9Red Hat OpenShift AI 2.25 · 1780394782 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.3 · 1782471734 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-pipeline-runtime-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.3 · 1782471879 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-cuda-py312-rhel9Red Hat OpenShift AI 3.3 · 1782471730 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-workbench-jupyter-tensorflow-rocm-py312-rhel9Red Hat OpenShift AI 3.3 · 1782471835 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-agent-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-controller-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
Show 3 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | rhoai/odh-kserve-router-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-kserve-storage-initializer-rhel9Red Hat OpenShift AI (RHOAI) | Unaffected | Not required | redhat-SADP |
| Red Hat | — | rhoai/odh-modelmesh-runtime-adapter-rhel8Red Hat OpenShift AI (RHOAI) | Affected | Not stated | redhat-SADP |
Description
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.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.0
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- @huntr_ai · cna
- Vector string
- CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | redhat-SADP · adp | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| keras-team | keras-team/keras | unspecified to < 3.13.2 (affected · custom) | @huntr_ai · cna |
| Red Hat | Red Hat OpenShift AI 2.25 | 1780394782 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1782471734 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1782471879 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1782471730 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI 3.3 | 1782471835 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift AI (RHOAI) | Default: affected | redhat-SADP · adp |
Weaknesses
2- CWE-502 CWE-502 Deserialization of Untrusted Data
- CWE-502 Deserialization of Untrusted Data
References
7- https://access.redhat.com/errata/RHSA-2026:24977
- https://access.redhat.com/errata/RHSA-2026:37275
- https://access.redhat.com/security/cve/CVE-2026-1462
- RHBZ#2457856 https://bugzilla.redhat.com/show_bug.cgi?id=2457856
- https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f
- https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json
Provider assertions
3@huntr_ai · cna
Safe Mode Bypass in keras-team/keras
redhat-SADP · adp
keras: Keras: Arbitrary Code Execution Vulnerability Bypassing Safe Mode
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 53289ebf8624f0e0e5540606d987b326da23204e707f8906e6fe1548c8b01025
- Ingested
- 23 Sep 2026, 09:04:08 UTC
- Source record
- Official CVE record