Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.
keras-team keras-team/keras — Deserialization of Untrusted Data in keras-team/keras
AV AC PR UI S C I A CVSS EPSS %ile KEV
N L N N U H H H 9.8 .0047 38.7 —
AFFECTED
Product Versions Fixed
keras-team/keras unspecified – —
TIMELINE
Jun 17 Reserved by @huntr_ai
Jul 3 EXPLOIT PUBLISHED — CVE-2026-12481 (keras-team/keras). Public exploit reference added.
Jul 3 Published (CNA: @huntr_ai)
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.
Lifecycle
Complete event history — 3 events, chronological
| Date | Event | Detail |
| June 17, 2026 | Reserved | Reserved by @huntr_ai |
| July 3, 2026 | EXPLOIT PUBLISHED | EXPLOIT PUBLISHED — CVE-2026-12481 (keras-team/keras). Public exploit reference added. |
| July 3, 2026 | Published | Published (CNA: @huntr_ai) |
Affected
Affected products and packages — 1 row
| Vendor | Product / Package | Ecosystem | Version introduced | Fixed |
| keras-team | keras-team/keras | — | unspecified | — |
About this page
This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2026-12481 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.