PT-2026-51329 · Keras Team · Keras

CVE-2026-12479

·

Published

2026-06-22

·

Updated

2026-08-10

CVSS v3.1

6.1

Medium

VectorAV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Name of the Vulnerable Software and Affected Versions keras-team/keras version 3.14.0
Description A path traversal issue exists in the Keras 3 model saving and loading library. The DiskIOStore.make() function fails to sanitize user-provided layer names for parent directory components (..) when constructing directory paths. Although forward slashes are restricted, the lack of traversal sequence filtering allows a malicious model to escape the intended temporary working directory. This can lead to unauthorized file system operations, including the creation of directories or writing files in arbitrary locations.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Path traversal

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-12479
GHSA-GH82-F9X8-5FRX
PYSEC-2026-3632

Affected Products

Keras