{"cve":{"cve_id":"CVE-2026-12481","is_kev":false,"kev_date_added":null,"kev_vendor_project":null,"kev_product":null,"kev_vulnerability_name":null,"kev_short_description":null,"kev_required_action":null,"kev_due_date":null,"kev_known_ransomware":null,"kev_notes":null,"kev_cwes":null,"epss_score":0.00719,"epss_percentile":0.51194,"epss_as_of":"2026-08-26","description":"A vulnerability in keras-team/keras version 3.14.0 allows for arbitrary code execution due to improper handling of deserialization in the `Lambda` layer. Specifically, the `_raise_for_lambda_deserialization()` function fails to enforce the safe-mode guard when `safe_mode` is set to `None`, which is the default value when `from_config()` is called outside of a `SafeModeScope` context. This logic error conflates `None` (unset/default-deny) with `False` (explicitly disabled), bypassing the guard and allowing attacker-controlled `marshal` bytecode to be deserialized. Affected call sites include `keras.layers.deserialize(config)`, `keras.models.clone_model(model)`, and any direct invocation of `Lambda.from_config(config)` without an enclosing `SafeModeScope(True)`. This vulnerability can be exploited to achieve arbitrary OS-level code execution in the context of the server or user process.","published_at":"2026-07-03T20:36:05.003000Z","last_modified_at":"2026-07-08T15:01:47.190000Z","cvss_v3_score":8.8,"cvss_v3_vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","cvss_v3_severity":"HIGH","cvss_v4_score":null,"cvss_v4_vector":null,"cvss_v4_severity":null,"ssvc_decision":null,"ssvc_exploitation":"poc","ssvc_automatable":false,"ssvc_technical_impact":"total","cwes":["CWE-502"],"nvd_references":["https://huntr.com/bounties/59ceaed1-c8a3-4135-8f94-169ade02823d"],"vuln_status":"Analyzed","trending_score":null,"is_trending":false,"has_trended":false,"trended_number_one":false,"trending_peak_score":null,"trending_peak_rank":null,"started_trending_at":null,"trended_number_one_at":null,"summary_generated":null,"summary_generated_at":null,"summary_model":null,"created_at":"2026-07-03T21:34:23.731677Z","updated_at":"2026-07-09T02:29:59.590495Z"},"effective_severity":"HIGH","badges":[],"impact_analysis":[],"cvss_v3_decoded":{"version":"3.0","metrics":[{"metric":"AV","name":"Attack Vector","value":"N","value_label":"Network"},{"metric":"AC","name":"Attack Complexity","value":"L","value_label":"Low"},{"metric":"PR","name":"Privileges Required","value":"N","value_label":"None"},{"metric":"UI","name":"User Interaction","value":"R","value_label":"Required"},{"metric":"S","name":"Scope","value":"U","value_label":"Unchanged"},{"metric":"C","name":"Confidentiality","value":"H","value_label":"High"},{"metric":"I","name":"Integrity","value":"H","value_label":"High"},{"metric":"A","name":"Availability","value":"H","value_label":"High"}]},"cvss_v4_decoded":{"version":null,"metrics":[]},"affected":[{"vendor_slug":"keras","vendor_name":"Keras","product_slug":"keras","product_name":"Keras","version_start":"3.14.0","version_start_inclusive":true,"version_end":"3.14.0","version_end_inclusive":true,"cpe23_uri":"cpe:2.3:a:keras:keras:3.14.0:*:*:*:*:*:*:*"},{"vendor_slug":"keras-team","vendor_name":"keras-team","product_slug":"keras-team-keras","product_name":"keras-team/keras","version_start":"unspecified","version_start_inclusive":true,"version_end":"latest","version_end_inclusive":true,"cpe23_uri":"cve5:keras-team:keras-team-keras:unspecified:latest"}],"exploit_refs":[],"news":[],"references":[{"url":"https://huntr.com/bounties/59ceaed1-c8a3-4135-8f94-169ade02823d","source_type":"MISC","tags":[]}],"timeline":[{"type":"published","at":"2026-07-03T20:36:05.003000Z","label":"CVE published","source":null},{"type":"ssvc_changed","at":"2026-07-06T17:42:58.941016Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-07-06T17:42:58.941016Z","label":"SSVC decision revised","source":"vulnrichment"},{"type":"ssvc_changed","at":"2026-07-06T17:42:58.941016Z","label":"SSVC decision revised","source":"vulnrichment"}]}