{"cve":"CVE-2026-12479","nvd":{"published":"2026-06-22T16:16:33.953","modified":"2026-10-25T23:10:00.167","status":"Deferred","description":"A path traversal vulnerability exists in keras-team/keras version 3.14.0, specifically in the `DiskIOStore.make` method within the Keras 3 model saving and loading library. This vulnerability arises from the improper handling of user-provided layer names, which are used to construct directory paths without sanitizing for parent directory components (`..`). While forward slashes (`/`) are restricted in layer names, directory traversal sequences are not. This allows an attacker to craft a malicious Keras model that, when saved or loaded, can escape the intended temporary working directory and perform unauthorized file system operations, such as creating directories or writing files in arbitrary locations.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L","score":6.1},"cwes":["CWE-22"],"references":["https://huntr.com/bounties/188836b9-12fc-49c7-8dbf-04f60fe33743","https://huntr.com/bounties/188836b9-12fc-49c7-8dbf-04f60fe33743"],"products":[],"source":"nvd","synced_at":"2026-10-25T23:44:33.281319194+00:00"},"epss":{"cve":"CVE-2026-12479","score":0.00384,"percentile":0.32161,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-gh82-f9x8-5frx","url":"https://osv.dev/vulnerability/GHSA-gh82-f9x8-5frx","summary":"Keras: DiskIOStore permits path traversal through crafted layer names","modified":"2026-08-10T11:40:43.029343141Z","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-3632","url":"https://osv.dev/vulnerability/PYSEC-2026-3632","summary":"Keras: DiskIOStore permits path traversal through crafted layer names","modified":"2026-08-10T11:30:11.810864322Z","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."]}