diff --git a/advisories/github-reviewed/2026/04/GHSA-4f3f-g24h-fr8m/GHSA-4f3f-g24h-fr8m.json b/advisories/github-reviewed/2026/04/GHSA-4f3f-g24h-fr8m/GHSA-4f3f-g24h-fr8m.json index 8b1c4202f1d62..16dc821f9e5c0 100644 --- a/advisories/github-reviewed/2026/04/GHSA-4f3f-g24h-fr8m/GHSA-4f3f-g24h-fr8m.json +++ b/advisories/github-reviewed/2026/04/GHSA-4f3f-g24h-fr8m/GHSA-4f3f-g24h-fr8m.json @@ -1,13 +1,13 @@ { "schema_version": "1.4.0", "id": "GHSA-4f3f-g24h-fr8m", - "modified": "2026-04-14T23:17:11Z", + "modified": "2026-04-14T23:17:13Z", "published": "2026-04-13T15:31:42Z", "aliases": [ "CVE-2026-1462" ], "summary": "Keras has an untrusted deserialization vulnerability", - "details": "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.", + "details": "A vulnerability in the `TFSMLayer` class of the `keras` package, in versions 3.0.0 through 3.12.0 and 3.13.0 through 3.13.1, 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.", "severity": [ { "type": "CVSS_V3", @@ -25,7 +25,7 @@ "type": "ECOSYSTEM", "events": [ { - "introduced": "0" + "introduced": "3.13.0" }, { "fixed": "3.13.2" @@ -33,6 +33,25 @@ ] } ] + }, + { + "package": { + "ecosystem": "PyPI", + "name": "keras" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "3.0.0" + }, + { + "fixed": "3.12.1" + } + ] + } + ] } ], "references": [ @@ -52,6 +71,14 @@ "type": "PACKAGE", "url": "https://github.com/keras-team/keras" }, + { + "type": "WEB", + "url": "https://github.com/keras-team/keras/releases/tag/v3.12.1" + }, + { + "type": "WEB", + "url": "https://github.com/keras-team/keras/commit/f704c887bf459b42769bfc8a9182f838009afddb" + }, { "type": "WEB", "url": "https://huntr.com/bounties/7e78d6f1-6977-4300-b595-e81bdbda331c"