Skip to content

keras

19 advisories in the AI Sec Watch database name keras (PyPI). No LLM component dependency is recorded for keras (PyPI). The most recent advisory that names keras and states a fix gives 3.15.0.

Multi-backend Keras

PyPILatest 3.15.1First release 2015-10-11Registry pageRepositoryChecked 2026-11-21

Advisories

Advisories that name keras as affected and state PyPI as its ecosystem. For a version-exact check of your own dependencies, use Stack Check.

Time to fix: a median of −23 days from disclosure to the release of the fixed version, over 25 advisories with a dated fix (fastest −351, slowest −2 days). A negative count means the fix was released before the advisory's disclosure date.

AdvisorySeverityAffectedFixed inFix releasedPublished
CVE-2026-12570keras-team/keras denial of service via malicious .keras model filesMedium< 3.15.03.15.02026-06-24 (−47 d)2026-08-10
CVE-2026-9335keras-team/keras local HDF5 file disclosure through ExternalLinksHigh< 3.12.33.12.32026-06-24 (−39 d)2026-08-02
CVE-2026-12484keras-team/keras unsafe deserialization via TorchModuleWrapper.from_configHigh< 3.12.33.12.32026-06-24 (−25 d)2026-07-19
CVE-2026-12482keras-team/keras tar extraction allows symlinks outside extraction directoryHigh< 3.12.33.12.32026-06-24 (−20 d)2026-07-14
CVE-2026-12481keras-team/keras Lambda layer code execution through unsafe deserializationCritical< 3.12.33.12.32026-06-24 (−9 d)2026-07-03
CVE-2026-12480Keras arbitrary HDF5 file read through virtual datasets in model loadingMedium< 3.12.33.12.32026-06-24 (−7 d)2026-07-01
CVE-2026-11816Keras path traversal in archive extraction utilitiesHigh< 3.14.03.14.02026-04-03 (−69 d)2026-06-11
CVE-2026-0897GHSA-mgx6-5cf9-rr43: Keras vulnerable to DoS via Malicious .keras Model (HDF5 Shape Bomb Causes Petabyte Allocation in KerasFileEditor)High>= 3.13.0, < 3.13.23.13.22026-01-30 (−96 d)2026-05-06
CVE-2026-1462Keras TFSMLayer loads attacker-controlled SavedModels despite safe_modeHigh< 3.13.23.13.22026-01-30 (−73 d)2026-04-13
CVE-2026-1669Keras arbitrary file read in model loading via HDF5 integrationHigh>= 3.13.0, < 3.13.23.13.22026-01-30 (−12 d)2026-02-11
CVE-2025-12060Keras get_file path traversal via tar archive extractionHigh<= 3.11.33.12.02025-10-27 (−3 d)2025-10-30
CVE-2025-12058Keras load_model arbitrary local file read and SSRF via StringLookup vocabularyHigh< 3.12.03.12.02025-10-27 (−2 d)2025-10-29
CVE-2025-49655Keras deserialization flaw allows code execution via malicious filesCritical>= 3.11.0, < 3.11.33.11.32025-08-21 (−57 d)2025-10-17
CVE-2025-9906Keras Model.load_model arbitrary code execution via crafted .keras archiveHigh< 3.11.03.11.02025-07-30 (−51 d)2025-09-19
CVE-2025-9905Keras Model.load_model arbitrary code execution through crafted .h5 archivesHigh>= 3.0.0, < 3.11.33.11.32025-08-21 (−29 d)2025-09-19
CVE-2025-8747Keras safe mode bypass in Model.load_model via crafted .keras archiveHigh>= 3.0.0, < 3.11.03.11.02025-07-30 (−12 d)2025-08-11
CVE-2025-1550Keras Model.load_model arbitrary code execution via malicious .keras archiveCritical>= 3.0.0, < 3.9.03.9.02025-03-04 (−7 d)2025-03-11
CVE-2024-55459keras arbitrary file write through crafted tar file in get_fileMedium<= 3.7.02025-01-08
CVE-2024-3660TensorFlow Keras arbitrary code injection through crafted modelsCritical< 2.13.1rc02.13.1rc02023-05-02 (−351 d)2024-04-17

Dependencies of the latest release

As declared in PyPI metadata for version 3.15.1. Optional extras are listed with their extra name.

Tracked packages that depend on it

Among the packages in the registry; not every dependent on PyPI.