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.
CVE-2026-12481
Score 8.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-03. a secondary CVSS source baseline 8.8; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 8.8
- EG Score
- 8.8(high)
- EPSS
- 32.1%
- KEV
- Not listed
Published
July 3, 2026
Last Modified
July 6, 2026
Advisory Details (1)
Auto-updated Jul 6, 2026huntr - The world's first bug bounty platform for AI/ML
https://huntr.com/bounties/59ceaed1-c8a3-4135-8f94-169ade02823dVendor Advisories for CVE-2026-12481(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 20× in last 7d / 20× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 03:08 UTCEG score recompute
- 2026-07-07 03:08 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:11 UTCEG score recompute
- 2026-07-06 16:11 UTCGHSA enrichment
- 2026-07-06 05:15 UTCEG score recompute
- 2026-07-06 05:15 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 18:18 UTCEG score recompute
- 2026-07-05 18:18 UTCGHSA enrichment
- 2026-07-05 07:19 UTCEG score recompute
- 2026-07-05 07:19 UTCGHSA enrichment
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 20:22 UTCEG score recompute
- 2026-07-04 20:22 UTCGHSA enrichment
- 2026-07-04 09:27 UTCEG score recompute
- 2026-07-04 09:26 UTCGHSA enrichment
- 2026-07-03 22:30 UTCEG score recompute
- 2026-07-03 22:30 UTCGHSA enrichment
Frequently asked(5)
What is CVE-2026-12481?
When was CVE-2026-12481 disclosed?
Is CVE-2026-12481 actively exploited?
What is the CVSS score of CVE-2026-12481?
How do I remediate CVE-2026-12481?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-12481
Is Your Infrastructure Affected by CVE-2026-12481?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.