HighVulnerability
CVE-2026-12484: keras-team/keras unsafe deserialization via TorchModuleWrapper.from_config
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-12484
- Published
- Record updated
- Affected
- keras < 3.12.3, fixed in 3.12.3, released June 26, 2026, 23 days before disclosure
- keras >= 3.13.0, < 3.15.0, fixed in 3.15.0, released June 24, 2026, 25 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.3%
Summary
CVE-2026-12484 affects keras-team/keras version 3.15.0. The public keras.layers.TorchModuleWrapper.from_config method calls torch.load(..., weights_only=False) without requiring an explicit unsafe opt-in, so it deserializes attacker-controlled PyTorch pickle data by default when no SafeModeScope(True) context is active. Processing untrusted Keras layer configurations this way can lead to arbitrary code execution.
Mitigation
The source does not state a fix yet. Check the original advisory for updates.
Affected packages in the Exposure Registry
Matched by package name and ecosystem. Each entry shows whether the package delegates to a language model and how many tracked packages depend on it.
- kerasPyPINo LLM dependency detected · 6 tracked dependents
Topics
Related items
- MediumCVE-2026-121936: easyVoice server-side request forgery through openaiBaseUrl in /api/v1/ttsSimilar attack · NVD/CVE Database
- MediumCVE-2026-118628: MLflow get-artifacts server-side request forgery information disclosureSimilar attack · NVD/CVE Database
- HighCVE-2026-118625: MLflow Tracking Server privilege escalation via get_endpointsSimilar attack · NVD/CVE Database
- InfoWhen trust becomes the payload: Inside the threats, etc quarterly reportSimilar attack · Elastic Security Labs
- MediumCritical Langflow flaws enable authentication bypass and RCESimilar attack · CSO Online