{"data":{"id":"4dae6fe8-e1ca-478a-83d9-da85f15f2b03","title":"CVE-2026-12481: A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of…","summary":"CVE-2026-12481 affects keras-team/keras version 3.14.0. The _raise_for_lambda_deserialization() function fails to enforce the safe-mode guard when safe_mode is None, the default outside a SafeModeScope context, because it conflates None with False. This lets attacker-controlled marshal bytecode be deserialized through keras.layers.deserialize(config), keras.models.clone_model(model) and direct Lambda.from_config(config) calls, enabling arbitrary OS-level code execution in the server or user process.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-12481","publishedAt":"2026-07-03T21:16:54.737Z","cveId":"CVE-2026-12481","cweIds":["CWE-502"],"cvssScore":null,"cvssSeverity":null,"severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["keras@< 3.12.3 (fixed: 3.12.3)","keras@>= 3.13.0, < 3.15.0 (fixed: 3.15.0)"],"affectedPackageNames":["keras"],"affectedPackageRefs":["pypi:keras"],"affectedVendors":[],"affectedVendorsRaw":["Keras","keras 3.14.0"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"keras-team/keras Lambda layer code execution through unsafe deserialization","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00719,"epssCheckedAt":"2026-10-14T06:09:07.174Z","kevDateAdded":null,"advisoryAliases":["GHSA-5gwj-m78q-7pq3"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:47:05.947Z","patchAvailable":true,"disclosureDate":"2026-07-03T21:16:54.737Z","capecIds":["CAPEC-586"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null}}