CVE-2025-49655: Keras - Insecure Deserialization
- Cve: CVE-2025-49655
- Name: Keras - Insecure Deserialization
- Description: Deserialization of untrusted data can occur in versions of the Keras framework running versions 3.11.0 up to but not including 3.11.3, enabling a maliciously uploaded Keras file containing a TorchModuleWrapper class to run arbitrary code on an end user’s system when loaded despite safe mode being enabled. The vulnerability can be triggered through both local and remote files.
- Impact: Attackers can execute arbitrary code on the end user's system, potentially leading to full system compromise.
- Remediation: Upgrade to version 3.11.3 or later.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.0075
- Epss percentile: 0.55882
- Assignee: 6f8de1f0-f67e-45a6-b68f-98777fdb759c
- Published at: 2025-10-17T16:15:37Z
- Age in days: 403
- Modified at: 2026-10-19T16:10:00Z
- References total: 2
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-49655
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/keras-team/keras/pull/21575 | nvd | |
| https://hiddenlayer.com/sai_security_advisor/2025-10-keras/ | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| keras-team/keras | fix, package, pull | yes | /v1/repositories/keras-team/keras |
Index
- Repositories: 22
- Repositories high signal: 8
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts