CVE-2026-1462

Source
https://cve.org/CVERecord?id=CVE-2026-1462
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1462.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-1462
Aliases
Downstream
Published
2026-04-13T14:55:28Z
Modified
2026-10-21T02:31:07Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Safe Mode Bypass in keras-team/keras
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.

Database specific
{
    "cna_assigner":  "@huntr_ai",
    "cwe_ids":  [
        "CWE-502"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/1xxx/CVE-2026-1462.json"
}
References

Affected packages

Git / github.com/keras-team/keras

Affected ranges

Type
GIT
Repo
https://github.com/keras-team/keras
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:keras:keras:3.13.0:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "3.13.0"
                },
                {
                    "last_affected":  "3.13.0"
                }
            ],
            "source":  "CPE_STRING"
        },
        {
            "range":  [
                {
                    "fixed":  "b6773d3decaef1b05d8e794458e148cb362f163f"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

3.*
3.13.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-1462.json"