{"id":"GHSA-cvhh-q5g5-qprp","summary":"Keras framework vulnerable to deserialization of untrusted data","details":"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.","aliases":["CVE-2025-49655","PYSEC-2026-368"],"modified":"2026-06-29T12:26:39.288570130Z","published":"2025-10-17T18:31:07Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-10-17T20:18:10Z","nvd_published_at":"2025-10-17T16:15:37Z","cwe_ids":["CWE-502"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49655"},{"type":"WEB","url":"https://github.com/keras-team/keras/pull/21575"},{"type":"PACKAGE","url":"https://github.com/keras-team/keras"},{"type":"WEB","url":"https://hiddenlayer.com/sai_security_advisor/2025-10-keras"}],"affected":[{"package":{"name":"keras","ecosystem":"PyPI","purl":"pkg:pypi/keras"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.11.0"},{"fixed":"3.11.3"}]}],"versions":["3.11.0","3.11.1","3.11.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/10/GHSA-cvhh-q5g5-qprp/GHSA-cvhh-q5g5-qprp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}