{
  "id": "CVE-2026-1462",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-1462",
  "published_at": "2026-04-13T14:55:28.649Z",
  "title": "Safe Mode Bypass in keras-team/keras",
  "vendor": "keras-team",
  "product": "keras-team/keras",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-502",
  "cpes": [
    "cpe:2.3:a:keras:keras:3.13.0:*:*:*:*:*:*:*",
    "cpe:2.3:a:redhat:openshift_ai:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "keras-team",
        "product": "keras-team/keras",
        "ranges": [
          "\u003e= unspecified, \u003c 3.13.2"
        ],
        "fixed_in": [
          "3.13.2"
        ]
      }
    ],
    "upgrade": [
      "Upgrade keras-team/keras to 3.13.2 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/keras-team/keras/commit/b6773d3decaef1b05d8e794458e148cb362f163f"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
