{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-49655","id":"CVE-2025-49655","title":"Keras framework vulnerable to deserialization of untrusted data","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.","descriptionLong":"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.","published":"2025-10-17T15:20:27.308Z","updated":"2026-10-28T02:30:25.060642263Z","reserved":"2025-06-09T13:58:25.617Z","status":"Deferred","rejected":false,"assigner":"HiddenLayer","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"HiddenLayer"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"HiddenLayer"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"6f8de1f0-f67e-45a6-b68f-98777fdb759c"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["Keras"],"affectedProducts":[{"vendor":"Keras","product":"Keras","defaultStatus":"unaffected","versions":[{"lessThan":"3.11.3","status":"affected","version":"3.11.0","versionType":"semver"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":[">=3.11.0 <3.11.3"],"fixed":["3.11.3"],"advisory":"GHSA-cvhh-q5g5-qprp"}],"cwes":["CWE-502"],"aliases":["GHSA-cvhh-q5g5-qprp","PYSEC-2026-368"],"references":[{"url":"https://hiddenlayer.com/sai_security_advisor/2025-10-keras/","tags":["web"]},{"url":"https://github.com/keras-team/keras/pull/21575","tags":["fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/49xxx/CVE-2025-49655.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49655","tags":["advisory"]},{"url":"https://github.com/keras-team/keras","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/keras/PYSEC-2026-368.yaml","tags":["web"]},{"url":"https://hiddenlayer.com/sai_security_advisor/2025-10-keras","tags":["web"]},{"url":"https://pypi.org/project/keras","tags":["web","package"]},{"url":"https://github.com/advisories/GHSA-cvhh-q5g5-qprp","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.0075,"epssPercentile":0.55726,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-49655","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-49655","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-49655","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-cvhh-q5g5-qprp","ok":true,"note":"GHSA-cvhh-q5g5-qprp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-49655","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}