Path Traversal Vulnerability in Keras Model Saving and Loading Library by Keras Team
CVE-2026-12479

6.1MEDIUM

Key Information:

Vendor

Keras-team

Vendor
CVE Published:
22 June 2026

What is CVE-2026-12479?

A path traversal vulnerability is present in Keras version 3.14.0, specifically within the DiskIOStore.make method. This issue stems from insufficient sanitization of user-supplied layer names, which are used to build directory paths. While forward slashes are restricted in layer names, attackers can exploit the lack of restrictions on directory traversal sequences. By crafting a malicious Keras model, an attacker can execute unauthorized file system operations, such as creating directories or writing files outside of the intended temporary working directory. This poses significant security risks, allowing for potential manipulation of sensitive data and system integrity.

Affected Version(s)

keras-team/keras <= unspecified

References

CVSS V3.0

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.