CVEvulnerability
CVE-2026-1462
7.8 HIGH
Official page ↗
- Status
- Modified
- Published
- 2026-04-13
- Last modified
- 2026-07-15
- Assigner
- [email protected]
- CVSS 3.1 (0b0ca135-0b70-47e7-9f44-1890c2a1c46c)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- CVSS 3.0 ([email protected])
- 8.8 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-502
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.
Affected configurations
• keras keras 3.13.0
• redhat openshift ai (>= 2.25 < 2.25.7)
Related
Weakness · CWE (1)
- CWE-502 Deserialization of Untrusted Data weakness
References
- https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f Patch
- https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c Exploit, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:24977 Third Party Advisory
- https://access.redhat.com/errata/RHSA-2026:37275 access.redhat.com
- https://access.redhat.com/security/cve/CVE-2026-1462 Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2457856 Issue Tracking, Third Party Advisory
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-1462.json Third Party Advisory