{"data":{"id":"7f43d791-58d4-4732-8ed8-36ff248e5126","title":"CVE-2025-9906: The Keras Model.load_model method can be exploited to achieve arbitrary code execution, even with safe_mode=True. One…","summary":"CVE-2025-9906 affects the Keras Model.load_model method, which can execute arbitrary code even when safe_mode=True is set. An attacker supplies a specially crafted .keras archive whose config.json calls keras.config.enable_unsafe_deserialization() to disable safe mode, then includes a Lambda layer carrying pickled Python code. Both must be in the same archive, with the deserialization call placed first.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-9906","publishedAt":"2025-09-19T13:15:36.353Z","cveId":"CVE-2025-9906","cweIds":["CWE-502"],"cvssScore":"7.3","cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["keras@< 3.11.0 (fixed: 3.11.0)"],"affectedPackageNames":["keras"],"affectedPackageRefs":["pypi:keras"],"affectedVendors":["Google"],"affectedVendorsRaw":["Keras"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"Keras Model.load_model arbitrary code execution via crafted .keras archive","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00203,"epssCheckedAt":"2026-11-04T12:08:33.690Z","kevDateAdded":null,"advisoryAliases":["GHSA-36fq-jgmw-4r9c"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:52:39.903Z","patchAvailable":true,"disclosureDate":null,"fixReleasedAt":"2025-07-30T00:00:01.105Z","daysToFix":-51,"fixCheckedAt":"2026-10-29T21:43:40.996Z","capecIds":["CAPEC-586"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"keras","fixedVersion":"3.11.0","matchedVersion":"3.11.0","fixReleasedAt":"2025-07-30T00:00:01.105Z","daysToFix":-51,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:43:40.843Z"}]}}