© 2025-2026 PySpect
First version without a known vulnerability: 3.15.0
Keras: HDF5 links can disclose local file contents
Fixed in: 3.12.3, 3.15.0
Keras: TorchModuleWrapper can deserialize unsafe PyTorch pickle data
Fixed in: 3.12.3, 3.15.0
Keras: tar extraction permits symlink-based path traversal
Fixed in: 3.12.3, 3.15.0
Keras: Lambda deserialization can bypass safe mode and execute code
Fixed in: 3.12.3, 3.15.0
Keras: HDF5 virtual datasets can disclose local files
Fixed in: 3.12.3, 3.15.0
Keras: DiskIOStore permits path traversal through crafted layer names
Fixed in: 3.12.3, 3.15.0
Keras archive extraction utilities allow path traversal and arbitrary file writes
Fixed in: 3.14.0
Keras vulnerable to DoS via Malicious .keras Model (HDF5 Shape Bomb Causes Petabyte Allocation in KerasFileEditor)
Fixed in: 3.12.1, 3.13.2, 3.13.1
Keras has an untrusted deserialization vulnerability
Fixed in: 3.13.2
Keras has a Local File Disclosure via HDF5 External Storage During Keras Weight Loading
Fixed in: 3.13.2, 3.12.1
Keras Directory Traversal Vulnerability
Fixed in: 3.12.0
Keras is vulnerable to arbitrary local file loading and Server-Side Request Forgery
Fixed in: 3.12.0
Keras framework vulnerable to deserialization of untrusted data
Fixed in: 3.11.3
The Keras `Model.load_model` method **silently** ignores `safe_mode=True` and allows arbitrary code execution when a `.h5`/`.hdf5` file is loaded.
Fixed in: 3.11.3
Keras is vulnerable to Deserialization of Untrusted Data
Fixed in: 3.11.0
Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionality
Fixed in: 3.11.0
Arbitrary Code Execution via Crafted Keras Config for Model Loading
Fixed in: 3.9.0, 3.8.0
keras Path Traversal vulnerability
Keras code injection vulnerability
Fixed in: 2.13.1rc0