Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 61%

CVE-2026-12481: CWE-502 Deserialization of Untrusted Data in keras-team keras-team/keras

0
High
Published: 07/03/2026 (07/03/2026, 21:31:36 UTC)
Source: CVE Database V5
Vendor/Project: keras-team
Product: keras-team/keras

Description

CVE-2026-12481 is a high-severity vulnerability in keras-team/keras version 3.14.0 involving unsafe deserialization in the Lambda layer. The issue arises because the _raise_for_lambda_deserialization() function does not properly enforce safe-mode when safe_mode is None, which is the default outside a SafeModeScope context. This allows attacker-controlled marshal bytecode to be deserialized, potentially leading to arbitrary OS-level code execution. The vulnerability affects calls to keras.layers.deserialize(config), keras.models.clone_model(model), and Lambda.from_config(config) without SafeModeScope(True). The product is a cloud service, and a patch is available. No known exploits are reported in the wild.

CVSS v3.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/08/2026, 15:12:06 UTC

Technical Analysis

This vulnerability in keras-team/keras version 3.14.0 is due to improper handling of deserialization in the Lambda layer. Specifically, the _raise_for_lambda_deserialization() function conflates a None value for safe_mode (default) with False (explicitly disabled), bypassing the safe-mode guard. This logic flaw allows attacker-controlled marshal bytecode to be deserialized when calling keras.layers.deserialize(config), keras.models.clone_model(model), or Lambda.from_config(config) outside of a SafeModeScope(True) context. Successful exploitation can lead to arbitrary OS-level code execution in the server or user process context. The vulnerability is tracked as CWE-502 (Deserialization of Untrusted Data) and has a CVSS v3.0 score of 8.8 (high severity). The product is a cloud service, and a patch is available though specific patch details are not provided.

Potential Impact

Exploitation of this vulnerability can result in arbitrary code execution at the OS level within the context of the server or user process running keras-team/keras. This can lead to full compromise of the affected system. The vulnerability is remotely exploitable without privileges and requires user interaction. The confidentiality, integrity, and availability of the system are all rated high impact.

Mitigation Recommendations

Since this is a cloud-hosted service, the vendor manages remediation server-side. Users should consult the vendor advisory for confirmation of patch deployment and ensure they are using a version with the fix applied. Avoid invoking Lambda.from_config(config) or related deserialization functions outside of a SafeModeScope(True) context until patched. Monitor vendor communications for updates. Patch status is confirmed as available, but specific patch versions are not listed; check the vendor advisory for current remediation guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-06-17T01:06:48.759Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null
Is Cloud Service
true

Threat ID: 6a4820fb27e9c79719acbf00

Added to database: 07/03/2026, 20:52:11 UTC

Last enriched: 08/08/2026, 15:12:06 UTC

Last updated: 08/17/2026, 00:41:09 UTC

Views: 119

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses