Bug 2457856 (CVE-2026-1462) - CVE-2026-1462 keras: Keras: Arbitrary Code Execution Vulnerability Bypassing Safe Mode
Summary: CVE-2026-1462 keras: Keras: Arbitrary Code Execution Vulnerability Bypassing ...
Keywords:
Status: NEW
Alias: CVE-2026-1462
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-13 15:02 UTC by OSIDB Bzimport
Modified: 2026-04-13 19:37 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-04-13 15:02:36 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.