CriticalVulnerability
CVE-2025-49655: Keras deserialization flaw allows code execution via malicious files
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-49655
- Published
- Record updated
- Affected
- keras >= 3.11.0, < 3.11.3
- Fixed in
- 3.11.3
- released August 21, 2025, 57 days before disclosure
- Known exploitation
- Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
- EPSS
- 0.8%
Summary
CVE-2025-49655 affects the Keras framework in versions 3.11.0 up to but not including 3.11.3. A maliciously uploaded Keras file containing a TorchModuleWrapper class can run arbitrary code on an end user's system when loaded, even with safe mode enabled. The flaw (CWE-502) can be triggered through both local and remote files.
Mitigation
Fixed in 3.11.3 (upgrade Keras to version 3.11.3 or later). Reference: https://github.com/keras-team/keras/pull/21575
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
- MediumResearchers Uncover Prompt Adware Hidden in OpenAI Codex Jailbreak ToolkitSimilar attack · The Hacker News
- InfoTop agent skill security resources — November 2026Similar attack · Adversa AI Blog
- HighCVE-2026-118627: MLflow SHAP load_explainer untrusted deserialization enables code executionSimilar attack · NVD/CVE Database
- HighCVE-2026-118623: MLflow PickleEvaluationArtifact remote code execution via untrusted pickleSimilar attack · NVD/CVE Database
- HighCVE-2026-88968: Claude Code Edit tool symlink race overwrites files outside workspace on macOSSimilar attack · NVD/CVE Database