HighVulnerability
CVE-2026-1462: Keras TFSMLayer loads attacker-controlled SavedModels despite safe_mode
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2026-1462
- Published
- Record updated
- Affected
- keras < 3.13.2
- Fixed in
- 3.13.2
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.4%
Summary
CVE-2026-1462 affects the `TFSMLayer` class in the `keras` package, version 3.13.0. Attacker-controlled TensorFlow SavedModels load during deserialization of `.keras` models even when `safe_mode=True`, bypassing that protection. The result is arbitrary code execution during model inference under the victim's privileges, caused by unconditional loading of external SavedModels, serialization of attacker-controlled file paths, and missing validation in `from_config()`.
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
Related items
- CriticalCVE-2026-90970: GitLab AI Gateway prompt template sandbox escape via crafted flow configurationSame vendor · NVD/CVE Database
- MediumCVE-2026-89278: GPTranslate WordPress plugin exposes plaintext API key to unauthenticated usersSame vendor · NVD/CVE Database
- CriticalCVE-2026-19407: Google Cloud Gemini Enterprise Agent Platform SDK for Python bucket squattingSame vendor · NVD/CVE Database
- HighCVE-2026-19486: A Server-Side Request Forgery (SSRF) vulnerability in Google Cloud Gemini Enterprise Agent Platform App Builder…Same vendor · NVD/CVE Database
- HighCVE-2026-13745: Gemini CLI code execution via untrusted .env files overriding GEMINI_CLI_HOMESame vendor · NVD/CVE Database