{"cve":"CVE-2026-12484","nvd":{"published":"2026-07-19T20:16:28.800","modified":"2026-10-24T20:10:00.137","status":"Awaiting Analysis","description":"A vulnerability in keras-team/keras version 3.15.0 allows unsafe deserialization of attacker-controlled PyTorch pickle data through the public `keras.layers.TorchModuleWrapper.from_config` method. This method invokes `torch.load(..., weights_only=False)` without requiring an explicit unsafe opt-in, such as a `safe_mode=False` parameter. When called outside a `SafeModeScope(True)` context, the absence of an ambient safe mode state permits unsafe deserialization by default. This issue can lead to arbitrary code execution if untrusted Keras layer configurations are processed using this method. The vulnerability arises because the method does not enforce safe deserialization practices unless explicitly guarded by Keras safe mode.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-502"],"references":["https://huntr.com/bounties/ab14df49-13b5-4442-b754-3189430bfa28","https://huntr.com/bounties/ab14df49-13b5-4442-b754-3189430bfa28"],"products":[],"source":"nvd","synced_at":"2026-10-25T17:50:08.599881581+00:00"},"epss":{"cve":"CVE-2026-12484","score":0.00304,"percentile":0.22966,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-v2w2-w228-c444","url":"https://osv.dev/vulnerability/GHSA-v2w2-w228-c444","summary":"Keras: TorchModuleWrapper can deserialize unsafe PyTorch pickle data","modified":"2026-08-10T11:40:41.613267729Z","packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":["<3.12.3"],"fixed":["3.12.3"]},{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":[">=3.13.0 <3.15.0"],"fixed":["3.15.0"]}]},{"id":"PYSEC-2026-3634","url":"https://osv.dev/vulnerability/PYSEC-2026-3634","summary":"Keras: TorchModuleWrapper can deserialize unsafe PyTorch pickle data","modified":"2026-08-10T11:30:12.983398006Z","packages":[{"ecosystem":"PyPI","name":"keras","purl":"pkg:pypi/keras","ranges":["<3.12.3",">=3.13.0 <3.15.0"],"fixed":["3.12.3","3.15.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}