CISA list

● PyPI package

keras

Keras has 20 security advisories. The newest release any of them names as the fix is 3.15.0.

As of , keras has 20 security advisories. The newest release any of them names as the fix is 3.15.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 3.15.03.15.020 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-12570GHSA-74m6-m3xx-3vmj, PYSEC-2026-3856Keras model loading is vulnerable to denial of service through HDF5 shape bombsModerate severityBefore 3.15.03.15.0
CVE-2026-9335GHSA-m8wh-29wm-52mv, PYSEC-2026-3633Keras: HDF5 links can disclose local file contentsModerate severityFrom 3.13.0 before 3.15.0; Before 3.12.33.12.3, 3.15.0
CVE-2026-12484GHSA-v2w2-w228-c444, PYSEC-2026-3634Keras: TorchModuleWrapper can deserialize unsafe PyTorch pickle dataHigh severityFrom 3.13.0 before 3.15.0; Before 3.12.33.12.3, 3.15.0
CVE-2026-12482GHSA-58hv-7753-xmfq, PYSEC-2026-3630Keras: tar extraction permits symlink-based path traversalLow severityFrom 3.13.0 before 3.15.0; Before 3.12.33.12.3, 3.15.0
CVE-2026-12481GHSA-5gwj-m78q-7pq3, PYSEC-2026-3631Keras: Lambda deserialization can bypass safe mode and execute codeHigh severityFrom 3.13.0 before 3.15.0; Before 3.12.33.12.3, 3.15.0
CVE-2026-12480GHSA-26c4-7vv6-867j, PYSEC-2026-3629Keras: HDF5 virtual datasets can disclose local filesModerate severityFrom 3.13.0 before 3.15.0; Before 3.12.33.12.3, 3.15.0
CVE-2026-12479GHSA-gh82-f9x8-5frx, PYSEC-2026-3632Keras: DiskIOStore permits path traversal through crafted layer namesModerate severityFrom 3.13.0 before 3.15.0; Before 3.12.33.12.3, 3.15.0
CVE-2026-11816GHSA-hqp4-2352-xf5r, PYSEC-2026-2324Keras archive extraction utilities allow path traversal and arbitrary file writesHigh severityBefore 3.14.03.14.0
CVE-2026-1462GHSA-4f3f-g24h-fr8m, PYSEC-2026-2547Keras has an untrusted deserialization vulnerabilityHigh severityBefore 3.13.23.13.2
CVE-2026-1669GHSA-3m4q-jmj6-r34q, PYSEC-2026-2546Keras has a Local File Disclosure via HDF5 External Storage During Keras Weight LoadingHigh severityFrom 3.13.0 before 3.13.2; From 3.0.0 before 3.12.13.12.1, 3.13.2
CVE-2026-0897GHSA-mgx6-5cf9-rr43, PYSEC-2026-73Keras vulnerable to DoS via Malicious .keras Model (HDF5 Shape Bomb Causes Petabyte Allocation in KerasFileEditor)High severityFrom 3.0.0 before 3.13.23.13.2
CVE-2025-12060GHSA-hjqc-jx6g-rwp9, PYSEC-2026-1486Keras Directory Traversal VulnerabilityHigh severityBefore 3.12.03.12.0
CVE-2025-12058GHSA-mq84-hjqx-cwf2, PYSEC-2026-1487Keras is vulnerable to arbitrary local file loading and Server-Side Request ForgeryModerate severityBefore 3.12.03.12.0
CVE-2025-49655GHSA-cvhh-q5g5-qprp, PYSEC-2026-368Keras framework vulnerable to deserialization of untrusted dataCritical severityFrom 3.11.0 before 3.11.33.11.3
CVE-2025-9906GHSA-36fq-jgmw-4r9c, PYSEC-2025-76Keras is vulnerable to Deserialization of Untrusted DataHigh severityBefore 3.11.03.11.0
CVE-2025-9905GHSA-36rr-ww3j-vrjv, PYSEC-2025-123The Keras `Model.load_model` method **silently** ignores `safe_mode=True` and allows arbitrary code execution when a `.h5`/`.hdf5` file is loaded.High severityFrom 3.0.0 before 3.11.33.11.3
CVE-2025-8747GHSA-c9rc-mg46-23w3, PYSEC-2025-75Keras vulnerable to CVE-2025-1550 bypass via reuse of internal functionalityHigh severityFrom 3.0.0 before 3.11.03.11.0
CVE-2025-1550GHSA-48g7-3x6r-xfhp, PYSEC-2025-122Arbitrary Code Execution via Crafted Keras Config for Model LoadingHigh severityFrom 3.0.0 before 3.9.03.9.0
CVE-2024-55459GHSA-cjgq-5qmw-rcj6, PYSEC-2025-121keras Path Traversal vulnerabilityModerate severityUp to and including 3.7.0No fixed version listed
CVE-2024-3660GHSA-x4wf-678h-2pmq, PYSEC-2026-369Keras code injection vulnerabilityCritical severityBefore 2.13.1rc02.13.1rc0

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0